New order | POST /baskets GET /baskets/{basket_id} | - dw.ocapi.shop.basket.modifyPOSTResponse
- dw.ocapi.shop.basket.modifyGETResponse
|
Set Customer | PUT /baskets/{basket_id}/customer | - dw.ocapi.shop.basket.beforePutCustomer
- dw.ocapi.shop.basket.afterPutCustomer
- dw.ocapi.shop.basket.customer.modifyPUTResponse
|
Set Billing Address | PUT /baskets/{basket_id}/billing_address | - dw.ocapi.shop.basket.beforePutBillingAddress
- dw.ocapi.shop.basket.afterPutBillingAddress
- dw.ocapi.shop.basket.billing_address.modifyPUTResponse
|
Set Shipping Address | PUT /baskets/{basket_id}/shipments/{shipment_id}/shipping_address | - dw.ocapi.shop.basket.shipment.beforePutShippingAddress
- dw.ocapi.shop.basket.shipment.afterPutShippingAddress
- dw.ocapi.shop.basket.shipment.shipping_address.modifyPUTResponse
|
Add Product | POST /baskets/{basket_id}/items | - dw.ocapi.shop.basket.items.beforePOST
- dw.ocapi.shop.basket.items.afterPOST
- dw.ocapi.shop.basket.items.modifyPOSTResponse
|
Update Product Item (such as quantity and custom properties | PATCH /baskets/{basket_id}/items/{item_id} | - dw.ocapi.shop.basket.beforePatchItem
- dw.ocapi.shop.basket.afterPatchItem
- dw.ocapi.shop.basket.item.modifyPATCHResponse
|
Remove a product item | DELETE /baskets/{basket_id}/items/{item_id} | - dw.ocapi.shop.basket.beforeDeleteItem
- dw.ocapi.shop.basket.afterDeleteItem
- dw.ocapi.shop.basket.item.modifyDELETEResponse
|
Set shipping method | PUT /baskets/{basket_id}/shipments/{shipment_id}/shipping_method | - dw.ocapi.shop.basket.beforePutShippingAddress
- dw.ocapi.shop.basket.afterPutShippingAddress
- dw.ocapi.shop.basket.shipment.shipping_method.modifyPUTResponse
|
Add Coupon | POST /baskets/{basket_id}/coupons | - dw.ocapi.shop.basket.beforePostCoupon
- dw.ocapi.shop.basket.afterPostCoupon
- dw.ocapi.shop.basket.coupon.modifyPOSTResponse
|
Remove Coupon | DELETE /baskets/{basket_id}/coupons/{coupon_item_id} | - dw.ocapi.shop.basket.beforeDeleteCoupon
- dw.ocapi.shop.basket.afterDeleteCoupon
- dw.ocapi.shop.basket.coupon.modifyDELETEResponse
|
Add Price Adjustment | POST /baskets/{basket_id}/price_adjustments | - dw.ocapi.shop.basket.beforePostPriceAdjustment
- dw.ocapi.shop.basket.afterPostPriceAdjustment
- dw.ocapi.shop.basket.price_adjustment.modifyPOSTResponse
|
Delete Price Adjustment | DELETE /baskets/{basket_id}/price_adjustments/{price_adjustment_id} | - dw.ocapi.shop.basket.beforeDeletePriceAdjustment
- dw.ocapi.shop.basket.afterDeletePriceAdjustment
- dw.ocapi.shop.basket.price_adjustment.modifyDELETEResponse
|
Submit Basket | POST /orders | - dw.ocapi.shop.order.beforePOST
- dw.ocapi.shop.order.afterPOST
- dw.ocapi.shop.order.modifyPOSTResponse
|
Get Payment Methods | GET /baskets/{basket_id}/payment_methods (first payment selection) GET /orders/{order_no}/payment_methods | - dw.ocapi.shop.basket.payment_methods.modifyGETResponse
- dw.ocapi.shop.order.payment_methods.modifyGETResponse
|
Add Payment Instrument | POST /orders/{order_no}/payment_instruments | - dw.ocapi.shop.order.beforePostPaymentInstrument
- dw.ocapi.shop.order.afterPostPaymentInstrument
- dw.ocapi.shop.order.payment_instrument.modifyPOSTResponse
- For payment integrations, use dw.order.hooks.PaymentHooks.
- dw.order.payment.authorize
- dw.order.payment.authorizeCreditCard
- dw.ocapi.shop.order.validateOrder
|
Delete Payment Instrument | DELETE /orders/{order_no}/payment_instruments/{payment_instrument_id} | - dw.ocapi.shop.order.payment_instrument.modifyDELETEResponse
- dw.ocapi.shop.order.validateOrder
|
Guide | all basket resources | - dw.ocapi.shop.basket.validateBasket
|