Sie befinden sich hier:
Data API Endpoints for Updating Orders
You can now use Data API endpoints to update orders in server-to-server use cases, such as when an order management system or payment provider initiates a change.
Use new PUT commands to update the different types of order statuses.
-
PUT /sites/{site_id}/orders/{order_no}/confirmation_status -
PUT /sites/{site_id}/orders/{order_no}/export_status -
PUT /sites/{site_id}/orders/{order_no}/external_status -
PUT /sites/{site_id}/orders/{order_no}/payment_status -
PUT /sites/{site_id}/orders/{order_no}/shipping_status -
PUT /sites/{site_id}/orders/{order_no}/status
Use a new PUT command to update an order’s shipping address.
-
PUT /sites/{site_id}/orders/{order_no}/shipments/{shipment_id}/shipping_address
Use new PATCH commands to update order and payment attributes.
-
PATCH /sites/{site_id}/orders/{order_no} -
PATCH /sites/{site_id}/orders/{order_no}/payment_instruments/{payment_instrument_id} -
PATCH /sites/{site_id}/orders/{order_no}/payment_instruments/{payment_instrument_id}/transaction
