BigCommerce · Example Payload
Bigcommerce Updatecheckoutlineitem Example
E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS
Bigcommerce Updatecheckoutlineitem 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
{
"operationId": "updateCheckoutLineItem",
"method": "PUT",
"path": "/checkouts/{checkoutId}/carts/{cartId}/items/{itemId}",
"summary": "BigCommerce Update a Line Item",
"requestExamples": [],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"id": "29eb9b44-8f33-4e4a-9429-d0e8e24641ed",
"cart": {
"id": "29eb9b44-8f33-4e4a-9429-d0e8e24641ed",
"customerId": 18,
"email": "dwaynecole@testing.com",
"currency": {
"name": "US Dollars",
"code": "USD",
"symbol": "$",
"decimalPlaces": 2
},
"isTaxIncluded": true,
"baseAmount": 7.95,
"discountAmount": 0,
"cartAmount": 7.95,
"coupons": [],
"discounts": [
{
"id": "243c9ca2-22b4-417a-8b09-b3fc05778b52",
"discountedAmount": 0
}
],
"lineItems": {
"physicalItems": [
{
"id": "243c9ca2-22b4-417a-8b09-b3fc05778b52",
"parentId": {},
"variantId": 345,
"productId": 174,
"sku": "",
"name": "1L Le Parfait Jar",
"url": "https://{store_domain}/all/1l-le-parfait-jar/",
"quantity": 1,
"brand": "OFS",
"isTaxable": true,
"imageUrl": "https://cdn11.bigcommerce.com/s-{store_hash}/products/174/images/425/leparfaitmedium3_1024x1024_1024x1024__37756__81924.1534344526.330.500.jpg?c=2",
"discounts": [],
"discountAmount": 0,
"couponAmount": 0,
"originalPrice": 7.95,
"listPrice": 7.95,
"salePrice": 7.95,
"extendedListPrice": 7.95,
"extendedSalePrice": 7.95,
"isShippingRequired": true,
"giftWrapping": {},
"addedByPromotion": false
}
],
"digitalItems": [],
"giftCertificates": [],
"customItems": []
},
"createdTime": "2019-01-10T17:18:00+00:00",
"updatedTime": "2019-01-10T17:19:47+00:00"
},
"billingAddress": {
"id": "5c377ead301c2",
"firstName": "Dwayne",
"lastName": "Cole",
"email": "dwaynecole@testing.com",
"company": "",
"address1": "Mauna Kea Access Rd",
"address2": "",
"city": "Hilo",
"stateOrProvince": "Hawaii",
"stateOrProvinceCode": "HI",
"country": "United States",
"countryCode": "US",
"postalCode": "96720",
"phone": "8081234567",
"customFields": []
},
"consignments": [
{
"id": "5c377ead30ac1",
"shippingCost": 8,
"handlingCost": 0,
"couponDiscounts": [],
"discounts": [],
"lineItemIds": [
"243c9ca2-22b4-417a-8b09-b3fc05778b52"
],
"selectedShippingOption": {
"id": "d09e05c0-3788-44df-a1bb-b6d3afdf6841",
"type": "shipping_byweight",
"description": "Ship by Weight",
"imageUrl": "",
"cost": 8,
"transitTime": ""
},
"address": {
"firstName": "Dwayne",
"lastName": "Cole",
"email": "dwaynecole@testing.com",
"company": "",
"address1": "Mauna Kea Access Rd",
"address2": "",
"city": "Hilo",
"stateOrProvince": "Hawaii",
"stateOrProvinceCode": "HI",
"country": "United States",
"countryCode": "US",
"postalCode": "96720",
"phone": "8081234567",
"customFields": []
}
}
],
"orderId": null,
"shippingCostTotal": 8,
"shippingCostBeforeDiscount": 8,
"handlingCostTotal": 0,
"taxTotal": 1.22,
"coupons": [],
"taxes": [
{
"name": "Tax",
"amount": 1.22
}
],
"subtotal": 7.95,
"grandTotal": 15.95,
"giftCertificates": [],
"createdTime": "2019-01-10T17:18:00+00:00",
"updatedTime": "2019-01-10T17:19:47+00:00",
"customerMessage": ""
}
}
]
}