SwiftPOD
  1. Api
SwiftPOD
  • Api
    • Webhook
      • List Webhooks
      • Subscribe to Webhook
      • Unsubcribe to webhook
      • Webhook Notification - Order Status Change Example
      • Webhook Notification - Tracking Number Example
      • Webhook Notification - In Transit and Delivered Status Example
      • Webhook Notification - Stock Status Change Example
    • Orders
      GET
    • Create Order
      POST
    • Create Multiple Orders
      POST
    • Get Order
      GET
    • Update Order
      PUT
    • Update Order Status
      PUT
    • Cancel Order
      POST
    • Catalogs
      GET
  • Changelog
  1. Api

Update Order Status

PUT
/v1/orders/status/JXW6VDOK

Request

Body Params application/json
order_status
string 
required
Order status can be either draft (Orders will not be produced), or new_order (The order will go into production). Default value: new_order
Example
{
  "order_status": "new_order"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.swiftpod.com/v1/orders/status/JXW6VDOK' \
--header 'Content-Type: application/json' \
--data-raw '{
    "order_status": "new_order"
}'

Responses

🟢200OK
text/plain
Body
message
string 
required
status
boolean 
required
Example
{
  "message": "Update status order successfully",
  "status": true
}
Previous
Update Order
Next
Cancel Order
Built with