Orders

Update order state

Changed on

Transitions the order to a new state. With the root-level 'action_type' field set to 'update_customer_data' and no 'state', it instead updates the customer data (customer, delivery_address and invoice_address) of a pending order — allowed only while the order is still solicited, the shopper has not started the identification and the checkout form URL has not been delivered by SMS or email.

put/orders/{uuid}

Request

  • Base URL
    https://localhost.sequrapi.com:44301
  • URL
    https://localhost.sequrapi.com:44301/orders/{uuid}
  • Auth
    HTTP basic

Path parameters

uuidstring required

Headers

Sequra-Merchant-Idstring required

Merchant identifier

Request body

action_typestring

Optional action modifier. Set to "update_customer_data" on a PUT to the order uuid to update the customer data of a pending order without a state transition; in that case "state" must be omitted

Response

Customer data updated

Changes

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      the response's property type changed from no type to array for status

    • breaking

      the response's property type changed from no type to array for status

    • info

      added the new optional request property

    • info

      removed subschema #1 subschema #2 subschema #3 from the response property anyOf list for the response status

    • info

      removed subschema #1 subschema #2 subschema #3 from the response property anyOf list for the response status

    • info

      added the success response with the status