Correct the contact or delivery address of an order that has not shipped
patch/shop/orders/{id}
Before you call
- Credential
Authorization: Bearer $KEY- Scope
shop:write- Mcp
rivier_shop_order_update- Sdk
shop.order.update- Cli
shop order update- Events
shop.order.updated
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- contactobject
- namestringAt most 160 characters.
- emailstring (email)At most 254 characters.
- phonestringPattern: ^+?[0-9 ()-]{6,20}$.
- namestring
- shippingAddressobject
- namestringAt most 160 characters.
- line1stringrequiredAt most 200 characters.
- line2stringAt most 200 characters.
- citystringrequiredAt most 100 characters.
- regionstringDefault: . At most 40 characters.
- postalCodestringrequiredAt most 20 characters.
- countrystringrequiredPattern: ^[A-Z]{2}$.
- namestring
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring