orders

Set an order shipping address (synchronous)

Changed on

Sets the shipping (SHIPPING) address of an existing order — edits it when present, or creates it when the order was created without one (e.g. store pickup). accountCode comes from the JWT; a reason is required and recorded in the narrative log.

patch/api/v1/orders/{id}/addresses

Request

Path parameters

idstring uuid required
Example:01920000-0000-7000-8000-000000000000

Order identifier (UUID).

Request body

reasonstring required

Response

Order shipping address set.

idstring required
updated_atstring required

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      endpoint added