Unpublish Item

post
Path parameters
idstringRequired
Responses
200

OK

application/json
post
POST /public/v1/catalog/items/{id}/unpublish HTTP/1.1
Host: api.s1.today
Accept: */*
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-09-16T11:52:51.370Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "updated": {
      "at": "2025-09-16T11:52:51.370Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "pending": {
      "at": "2025-09-16T11:52:51.370Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "published": {
      "at": "2025-09-16T11:52:51.370Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "unpublished": {
      "at": "2025-09-16T11:52:51.370Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "revision": 1,
  "description": "text",
  "externalIds": {
    "vendor": "text",
    "operations": "text"
  },
  "group": {
    "id": "text",
    "name": "text",
    "revision": 1
  },
  "unit": {
    "id": "text",
    "audit": {
      "created": {
        "at": "2025-09-16T11:52:51.370Z",
        "by": {
          "id": "text",
          "name": "text",
          "icon": "text",
          "revision": 1
        }
      },
      "updated": {
        "at": "2025-09-16T11:52:51.370Z",
        "by": {
          "id": "text",
          "name": "text",
          "icon": "text",
          "revision": 1
        }
      }
    },
    "$meta": {
      "omitted": [
        "text"
      ]
    },
    "name": "text",
    "revision": 1,
    "description": "text",
    "statistics": {
      "itemCount": 1
    }
  },
  "terms": {
    "model": "one-time",
    "period": "1m",
    "commitment": "1m"
  },
  "quantityNotApplicable": true,
  "status": "text",
  "product": {
    "id": "text",
    "name": "text",
    "icon": "text",
    "revision": 1,
    "externalIds": {
      "operations": "text",
      "defaultErpItem": "text"
    },
    "status": "text"
  },
  "parameters": [
    {
      "id": "text",
      "externalId": "text",
      "type": "text",
      "name": "text",
      "value": null,
      "displayValue": "text"
    }
  ]
}

Last updated

Was this helpful?