Skip to main content
Send an array of brands. Each item creates the brand when its id does not exist, or updates it when it does. Send only the fields to change. id comes from each item and cannot be renamed here.
Requires an access token with the brands:write scope. See Token to obtain a token.
An item with only id refreshes updated_at when the brand already exists. A new id requires name. Omitted status defaults to ACTIVE. Omitted cms_template_id stays unset.

Request

Body

An array of 1 to 100 items. Each item takes these fields: labels, cms, uid, merchant_id, and env are ignored if sent.

Response

Zod validates the entire body before saving. If any field is invalid, HTTP 400 is returned and no items are saved. When the body is valid, items are saved one after another. HTTP 200 only when every item is saved. If a later item hits a business error, HTTP is that item’s status (422 or 500).

Error responses