v1

latestOpenAPI 3.0.02026-07-2475182625.5 KB
Products

Create or update product offers

Creates product offers or updates existing product offers.

You can configure product offers to enhance the customer shopping experience by suggesting complementary or alternative products.

post/products/offers/{product_path}

Path parameters

product_pathstring required

Unique identifier to reference a specific product, also known as the product path ID.

Request body

Example request

{
  "products": [
    {
      "product": "premium-keyboard",
      "offers": [
        {
          "type": "cross-sell",
          "display": {
            "en": "Discover our complementary products to maximize your results."
          },
          "items": [
            "premium-keyboard"
          ]
        }
      ]
    }
  ]
}

Response

OK

OR

Example response

{
  "products": [
    {
      "product": "premium-keyboard",
      "action": "products.offers.create",
      "result": "success"
    }
  ]
}