/orders/joint/{id}
OK
OrderJoint was not found
An internal server error was thrown
curl -L \ --url 'https://api.zydon.com.br/api/sales/orders/joint/{id}' \ --header 'Authorization: Bearer JWT'
{ "id": "text", "order_id": "text", "external_id": "text" }
A validation error was thrown
curl -L \ --request PUT \ --url 'https://api.zydon.com.br/api/sales/orders/joint/{id}' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{"order_id":"text","external_id":"text"}'
{ "id": "text" }
OrderJoint was not removed
curl -L \ --request DELETE \ --url 'https://api.zydon.com.br/api/sales/orders/joint/{id}' \ --header 'Authorization: Bearer JWT'
{}
/orders/joint
curl -L \ --url 'https://api.zydon.com.br/api/sales/orders/joint' \ --header 'Authorization: Bearer JWT'
{ "currentPage": 1, "perPage": 1, "total": 1, "items": [ { "id": "text", "order_id": "text", "external_id": "text" } ] }
OrderJoint created successfully
curl -L \ --request POST \ --url 'https://api.zydon.com.br/api/sales/orders/joint' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{"order_id":"text","external_id":"text"}'