Unpublish Variant

Unpublish a variant for terms.

post
Path parameters
termsAndConditionsIdstringRequired
idstringRequired
productIdstringRequired
Responses
200

OK

application/json
post
POST /public/v1/catalog/products/{productId}/terms/{termsAndConditionsId}/variants/{id}/unpublish HTTP/1.1
Host: api.s1.today
Accept: */*
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-09-15T22:28:14.302Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "updated": {
      "at": "2025-09-15T22:28:14.302Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "revision": 1,
  "type": "text",
  "assetUrl": "text",
  "languageCode": "text",
  "description": "text",
  "status": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "termsAndConditions": {
    "id": "text",
    "name": "text",
    "revision": 1
  },
  "fileId": "text"
}

Last updated

Was this helpful?