Create or update products
/catalog/productsThe body is a JSON list of up to 100 products, keyed by external_id (source api: products synced from a connected store are never touched). written + stale + invalid = the number sent. A product you deleted stays deleted: sending it again does not bring it back.
Permission: catalog:write · on the API key screen: Catalog → Full access · All permissions
Body parameters
external_idstringrequiredYour id for the product. The upsert key.
At least 1 characters. At most 255 characters.
titlestring | nullAt most 500 characters.
handlestring | nullAt most 255 characters.
urlstring | nullAt most 2,000 characters.
image_urlstring | nullAt most 2,000 characters.
vendorstring | nullAt most 255 characters.
product_typestring | nullAt most 255 characters.
statusstringOne of:
activedraftarchivedAt most 2,000 characters.
tagsstring[]At most 100 items.
currencystringAt most 2,000 characters.
updated_atstringWhen the product last changed in your system. A copy older than the stored one is ignored; a copy without it never replaces one that has it.
At most 2,000 characters.
variantsobject[]The COMPLETE variant list: variants not in it are removed. Omit to leave variants alone.
At most 100 items.
Show propertiesHide properties
external_idstringrequiredAt least 1 characters. At most 255 characters.
titlestring | nullAt most 500 characters.
skustring | nullAt most 255 characters.
pricestring | number | nullcompare_at_pricestring | number | nullinventory_quantitynumber | null
Response
writtennumberrequiredstalenumberrequiredinvalidnumberrequired