BigCommerce · Example Payload

Bigcommerce Updatecartlineitem Example

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS

Bigcommerce Updatecartlineitem 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": "updateCartLineItem",
  "method": "PUT",
  "path": "/carts/{cartId}/items/{itemId}",
  "summary": "BigCommerce Update Cart Line Item",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "Variant Item",
      "example": {
        "lineItem": {
          "productId": 229,
          "variantId": 191,
          "quantity": 10
        },
        "locale": "en"
      }
    },
    {
      "contentType": "application/json",
      "name": "Custom Item",
      "example": {
        "lineItem": {
          "productId": 118,
          "variantId": 140,
          "quantity": 10,
          "optionSelections": [
            {
              "optionId": 125,
              "optionValue": 127
            }
          ]
        },
        "locale": "en"
      }
    },
    {
      "contentType": "application/json",
      "name": "With Gift Wrapping",
      "example": {
        "lineItem": {
          "quantity": 2,
          "productId": 230,
          "variantId": 124,
          "giftWrapping": {
            "wrapTogether": true,
            "wrapDetails": [
              {
                "id": 1,
                "message": "Happy Birthday"
              }
            ]
          }
        }
      }
    },
    {
      "contentType": "application/json",
      "name": "With null Gift Wrapping (will delete current gift wrapping)",
      "example": {
        "lineItem": {
          "quantity": 2,
          "productId": 230,
          "variantId": 124,
          "giftWrapping": null
        }
      }
    }
  ],
  "responseExamples": []
}