Skip to main content
POST
Approve products

Authorizations

x-access-token
string
header
required

JWT minted from a merchant API key (mk_live_…) by POST /authenticate. Send the token value directly, with no "Bearer" prefix. Tokens last 14 days and can be renewed at POST /refresh-token; revoking the key refuses the next request made with any token minted from it.

Body

application/json
productIds
string[]
required

1 to 100 product ids (ObjectId, Shopify GID or numeric id); duplicates are removed

Required array length: 1 - 100 elements
publishAs
enum<string>
required

Matched in any case (ACTIVE and DRAFT, as PATCH /{productId}/status takes them, are accepted) and normalized to lowercase

Available options:
draft,
active

Response

One result per product id

success
enum<boolean>
Available options:
true
data
object