Update an Order
PATCHhttps://api.staging.powerapi.com/api/v1/orders/:id
Update an Order
Request
Responses
- 200
Update an Order
Authorization: http
name: bearertype: httpscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- ruby
- java
- powershell
- CURL
curl -L -X PATCH 'https://api.staging.powerapi.com/api/v1/orders/:id' \
-H 'Content-Type: application/vnd.api+json' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"data": {
"id": "string",
"type": "orders",
"attributes": {
"delivery_id": "string",
"notes": {},
"pickup_at_business": {},
"shipping_cost_cents": 0,
"shipping_cost_for_business_cents": 0,
"shipping_cost_for_customer_cents": 0,
"state": "string",
"time_wish": "string",
"user_email": "string",
"user_phone": "string",
"user_phone_country_code": "string",
"user_phone_country_prefix": "string"
}
}
}'
ResponseClear