website logo
Channel Docs
Merchant Docs
Navigate through spaces
Channel Docs
Merchant Docs
⌘K
👋Welcome to Violet's Docs
💡Concepts
🚀Quick Start
🍎Create a Violet Application
😀Postman + Login
🏬View Merchants
👗Interact with Catalogs
🛍️Place an Order
🌐API Reference
✋Help
📝Changelog
Docs powered by archbee 
0min

Update SKU in Cart

PUT
Modifies a cart SKU by its ID.
PATH PARAMETERS
cart_idinteger*
order_sku_idinteger*
QUERY PARAMETERS
price_cartboolean
HEADER PARAMETERS
X-Violet-Tokenstring
X-Violet-App-Secretstring
X-Violet-App-Idinteger
BODY PARAMETERS
body
OrderSku
SKUs belonging to an Order
idinteger<int64>
merchant_idinteger<int32>
ID of the Merchant the SKU belongs to
app_idinteger<int64>
ID of the App creating the Order
product_idstring
ID of the Product
sku_idinteger<int64>*
ID of the referenced SKU
external_idstring
ID of the SKU on the External Ecommerce Platform
namestring
Name of the SKU
thumbnailstring
URL of the thumbnail image
quantityinteger<int32>
Quantity of the SKU being purchased
priceinteger<int32>
SKU Price
RESPONSES
200
successful operation
Order
Order
idinteger<int64>
tokenstring
seller_idinteger<int64>
ID of the Seller
user_idinteger<int64>
ID of the User placing the order
app_idinteger<int64>
ID of the App creating the order
customer
OrderCustomer
The Customer Placing the Order
bags
Bag[]
Bags in the Order
shipping_address
OrderAddress
The shipping or billing address of a user placing an order
billing_address
OrderAddress
The shipping or billing address of a user placing an order
payment_method
OrderPaymentMethod
Payment Method belonging to an Order
sub_totalinteger<int32>
Subtotal of the Order
shipping_totalinteger<int32>
Shipping Total of the Order
tax_totalinteger<int32>
Tax Total of the Order
totalinteger<int32>
Total of the Order
app_customer_idstring
App Customer ID
app_order_idstring
App Order ID
statusstring<in_progress | processing | completed | canceled | partially_refunded | refunded>*
Status of the Order
date_createdstring<date-time>
Date of order creation
date_last_modifiedstring<date-time>
Date of last order update
guestboolean
Is the customer a guest or an authed user.
referral_idstring
Optional value used to represent an identifier in your system. Max length of 128 characters.
Updated 21 Oct 2022
Did this page help you?
Yes
No
UP NEXT
Remove SKU from Cart
Docs powered by archbee