Submits an order based on a prepared basket. The only considered value from the request body is basketId.
A TanStack Query mutation hook for interacting with the Shopper Orders createOrder
endpoint.
Adds a payment instrument to an order.
Details:
The payment instrument is added with the provided details. The payment method must be applicable for the order see GET /baskets/{basketId}/payment-methods, if the payment method is 'CREDIT_CARD' a paymentCard must be specified in the request.
A TanStack Query mutation hook for interacting with the Shopper Orders createPaymentInstrumentForOrder
endpoint.
Removes a payment instrument of an order.
A TanStack Query mutation hook for interacting with the Shopper Orders removePaymentInstrumentFromOrder
endpoint.
Updates a payment instrument of an order.
A TanStack Query mutation hook for interacting with the Shopper Orders updatePaymentInstrumentForOrder
endpoint.
Mutations available for Shopper Orders