Catalog

Create or update products

POST/catalog/products

The 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_idstringrequired

    Your id for the product. The upsert key.

    At least 1 characters. At most 255 characters.

  • titlestring | null

    At most 500 characters.

  • handlestring | null

    At most 255 characters.

  • urlstring | null

    At most 2,000 characters.

  • image_urlstring | null

    At most 2,000 characters.

  • vendorstring | null

    At most 255 characters.

  • product_typestring | null

    At most 255 characters.

  • statusstring

    One of: active draft archived

    At most 2,000 characters.

  • tagsstring[]

    At most 100 items.

  • currencystring

    At most 2,000 characters.

  • updated_atstring

    When 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 properties
    • external_idstringrequired

      At least 1 characters. At most 255 characters.

    • titlestring | null

      At most 500 characters.

    • skustring | null

      At most 255 characters.

    • pricestring | number | null
    • compare_at_pricestring | number | null
    • inventory_quantitynumber | null

Response

  • writtennumberrequired
  • stalenumberrequired
  • invalidnumberrequired