BigCommerce · Example Payload

Bigcommerce Updateproductvariantoption Example

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS

Bigcommerce Updateproductvariantoption Example is an example object payload from BigCommerce, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "updateProductVariantOption",
  "method": "PUT",
  "path": "/catalog/products/{product_id}/options/{option_id}",
  "summary": "BigCommerce Update a Product Variant Option",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "data": {
          "id": 220,
          "product_id": 192,
          "name": "Color (Colors only)",
          "display_name": "Color",
          "type": "swatch",
          "sort_order": 0,
          "option_values": [
            {
              "id": 174,
              "label": "Beige",
              "sort_order": 1,
              "value_data": {
                "colors": [
                  "#FAFAEB"
                ]
              },
              "is_default": false
            },
            {
              "id": 175,
              "label": "Grey",
              "sort_order": 2,
              "value_data": {
                "colors": [
                  "#BDBDBD"
                ]
              },
              "is_default": false
            },
            {
              "id": 176,
              "label": "Black",
              "sort_order": 3,
              "value_data": {
                "colors": [
                  "#000000"
                ]
              },
              "is_default": false
            },
            {
              "id": 189,
              "label": "Black-Walnut",
              "sort_order": 4,
              "value_data": {
                "colors": [
                  "#e80ee8"
                ]
              },
              "is_default": false
            }
          ],
          "config": {}
        },
        "meta": {}
      }
    }
  ]
}