Unpublish Media

Unpublish an item of media for a product.

post
Path parameters
productIdstringRequired
idstringRequired
Responses
200

OK

application/json
post
POST /public/v1/catalog/products/{productId}/media/{id}/unpublish HTTP/1.1
Host: api.s1.today
Accept: */*
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-09-16T11:57:37.122Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "updated": {
      "at": "2025-09-16T11:57:37.122Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "revision": 1,
  "type": "text",
  "description": "text",
  "status": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "displayOrder": 1,
  "url": "text",
  "product": {
    "id": "text",
    "name": "text",
    "icon": "text",
    "revision": 1,
    "externalIds": {
      "operations": "text",
      "defaultErpItem": "text"
    },
    "status": "text"
  }
}

Last updated

Was this helpful?