v1

latestOpenAPI 3.1.02026-07-242470655.6 KB

Update Product Variation

Update catalog product variation by id

patch/sites/multiscreen/{site_name}/ecommerce/products/{product_id}/variations/{variation_id}

Path parameters

site_namestring required

The unique identifier for the target Site.

product_idstring required

The unique identifier for the target Product.

variation_idstring required

The unique identifier for the target Variation.

Headers

x-duda-access-tokenstring

The specific access token to access this site API.

authorizationstring

Your App Account's username and password, base64'd.

Response

200

external_idstring
idstring
price_differencestring
quantityinteger
skustring
statusstring

Example response

{
  "external_id": "KTP9XGbSg2",
  "id": "KTP9XGbSg2",
  "images": [
    {
      "alt": "Image of fancy shirt",
      "url": "https://images.pexels.com/photos/1020585/pexels-photo-1020585.jpeg"
    }
  ],
  "options": [
    {
      "choice_id": "db3je27rg7",
      "choice_value": "45",
      "option_id": "WMd1xylGrp",
      "option_name": "Shirt size"
    }
  ],
  "price_difference": "string",
  "quantity": 25,
  "sku": "UGG-BB-PUR-06",
  "status": "HIDDEN"
}