You can use the Buy Order API to create a cart which contains the items. initiateCheckoutSession or initiateGuestCheckoutSession methods can be used to start a new checkout session and to add items to the cart. These methods allow you to specify the items you want to add along with their quantity.
Here’s how you can proceed with the Order API to manage cart functionalities:
Add Items to the Checkout Session: Use the updateQuantity or updateGuestQuantity method within the checkout session to add items or change the quantity of the items.
Manage Checkout Details: You can update shipping addresses, shipping options, and payment information using respective methods like updateShippingAddress, updateGuestShippingAddressupdateGuestShippingOption, and updatePaymentInfo.
Finalize the Purchase: Once all items are added and details are confirmed, you can finalize the purchase through the checkout session.
matamaz0
OP2 years agoThank you very much!
developer_support@ebay
Hi @matamaz0,
You can use the Buy Order API to create a cart which contains the items. initiateCheckoutSession or initiateGuestCheckoutSession methods can be used to start a new checkout session and to add items to the cart. These methods allow you to specify the items you want to add along with their quantity.
Here’s how you can proceed with the Order API to manage cart functionalities:
For more information, you can refer to the Buy Order API guide: https://developer.ebay.com/api-docs/buy/static/api-order.html