Body
Required
-
Base price
-
Bundle quantity
Default value is
0
. -
Bundle sale item
-
Channel compare at price
-
Channel price
-
Clone sale item
-
Commercial invoice price
-
Cost price
-
Created at
-
Discount
-
Display tax
-
Dropship provider address
-
Dropship provider
-
External
-
External variant
-
Id
-
Inventory processed
Default value is
0
. -
Is bundle
Default value is
false
. -
Location
-
Locked
Default value is
false
. -
Manual routing
Values are
dropship
orfulfill
. -
Name
-
Order routing
Values are
automated
,manual
, orignore
. Default value isautomated
. -
Prevent duplicates
Default value is
false
. -
Price
Default value is
0
. -
Price extended
-
Quantity
Default value is
1
. -
Quantity cancelled
Default value is
0
. -
Quantity invoiced
Default value is
0
. -
Quantity refunded
Default value is
0
. -
Quantity returned
Default value is
0
. -
Sale
-
Subtotal
Default value is
0
. -
Tax
Default value is
0
. -
Tax rate
-
Taxable
Default value is
false
. -
Unallocated
Default value is
false
. -
Updated at
-
Variant
-
Warehouse
curl \
--request PUT 'http://api.example.com/v1/sale-items/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"allocation":{},"basePrice":42.0,"bundleQuantity":0,"bundleSaleItemId":42,"channelCompareAtPrice":42.0,"channelPrice":42.0,"cloneSaleItemId":42,"commercialInvoicePrice":42.0,"costPrice":42.0,"createdAt":"2025-05-04T09:42:00Z","discount":42.0,"discountAllocated":{},"discounts":{},"displayTax":42.0,"dropshipProviderAddressId":42,"dropshipProviderId":42,"externalId":"string","externalVariantId":"string","id":42,"inventoryProcessed":0,"isBundle":false,"location":"string","locked":false,"manualRouting":"dropship","name":"string","notes":{},"orderRouting":"automated","preventDuplicates":false,"price":0,"priceBase":{},"priceDisplay":{},"priceExtended":42.0,"properties":{},"quantity":1,"quantityCancelled":0,"quantityInvoiced":0,"quantityRefunded":0,"quantityReturned":0,"saleId":42,"subtotal":0,"tax":0,"taxRate":42.0,"taxable":false,"unallocated":false,"updatedAt":"2025-05-04T09:42:00Z","variantId":42,"warehouseId":42}'
{
"allocation": {},
"basePrice": 42.0,
"bundleQuantity": 0,
"bundleSaleItemId": 42,
"channelCompareAtPrice": 42.0,
"channelPrice": 42.0,
"cloneSaleItemId": 42,
"commercialInvoicePrice": 42.0,
"costPrice": 42.0,
"createdAt": "2025-05-04T09:42:00Z",
"discount": 42.0,
"discountAllocated": {},
"discounts": {},
"displayTax": 42.0,
"dropshipProviderAddressId": 42,
"dropshipProviderId": 42,
"externalId": "string",
"externalVariantId": "string",
"id": 42,
"inventoryProcessed": 0,
"isBundle": false,
"location": "string",
"locked": false,
"manualRouting": "dropship",
"name": "string",
"notes": {},
"orderRouting": "automated",
"preventDuplicates": false,
"price": 0,
"priceBase": {},
"priceDisplay": {},
"priceExtended": 42.0,
"properties": {},
"quantity": 1,
"quantityCancelled": 0,
"quantityInvoiced": 0,
"quantityRefunded": 0,
"quantityReturned": 0,
"saleId": 42,
"subtotal": 0,
"tax": 0,
"taxRate": 42.0,
"taxable": false,
"unallocated": false,
"updatedAt": "2025-05-04T09:42:00Z",
"variantId": 42,
"warehouseId": 42
}