BigCommerce · Example Payload

Bigcommerce Addcartlineitems Example

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS

Bigcommerce Addcartlineitems 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": "addCartLineItems",
  "method": "POST",
  "path": "/carts/{cartId}/items",
  "summary": "BigCommerce Add Cart Line Items",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "Example 1",
      "example": {
        "line_items": [
          {
            "quantity": 2,
            "product_id": 77,
            "list_price": 12.5,
            "option_selections": [
              {
                "option_id": 8,
                "option_value": "Yes"
              }
            ]
          }
        ],
        "gift_certificates": [
          {
            "name": "Happy Birthday",
            "theme": "birthday.html",
            "amount": 50,
            "quantity": 1,
            "sender": {
              "name": "Jane Does",
              "email": "janedoe@example.com"
            },
            "recipient": {
              "name": "Jane Does",
              "email": "janedoe@example.com"
            },
            "message": "Happy Birthday Jane!"
          }
        ]
      }
    },
    {
      "contentType": "application/json",
      "name": "Example 2: Custom Item",
      "example": {
        "custom_items": [
          {
            "sku": "abc-123",
            "name": "Custom Product",
            "quantity": 1,
            "list_price": 10
          }
        ]
      }
    }
  ],
  "responseExamples": []
}