FastPOD
  1. Orders
FastPOD
  • Getting Started
  • Orders
    • List Orders
      GET
    • Get Order
      GET
    • Create Order
      POST
    • Cancel Order
      POST
    • Estimate Order Price
      POST
    • Estimate Item Price
      POST
    • Update Order
      PUT
    • Update Status
      PUT
  • Catalog
    • List Catalogs
      GET
  • Webhook
    • List Webhooks
      GET
    • Subscribe
      POST
    • Unsubcribe
      DELETE
  1. Orders

Update Status

PUT
/v1/orders/{id}/status
Update order status

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Body Params application/json

Example
{
    "order_status": "new_order"
}

Request Code 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-v2.fastpod.net/v1/orders//status' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
    "order_status": "new_order"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "status": true,
    "message": "Order updated successfully.",
    "data": {
        "id": "F237-120723-000001",
        "reference_id": "string",
        "order_status": "new_order",
        "test_order": false,
        "item_total": 14.4,
        "shipping_total": 24,
        "surcharge_total": 0,
        "order_total": 38.4,
        "payment_method": "cash",
        "payment_status": "unpaid",
        "point_earned": 0,
        "point_used": 3840,
        "quantity_total": 1,
        "shipping_method": "3",
        "boost_production": true,
        "gift_message": null,
        "tax_id": null,
        "tax_id_type": null,
        "created_at": "2023-12-07T07:54:35.000000Z",
        "updated_at": "2023-12-07T07:54:35.000000Z",
        "rejected_at": null,
        "rejected_status": null,
        "cancelled_at": null,
        "address": {
            "name": "Michael Brown",
            "company": "My company",
            "email": "michaelbrown@demo.com",
            "phone": "(330) 829-0294",
            "street1": "3431 Reeves Street",
            "street2": null,
            "city": "Milwaukee",
            "state": "WI",
            "country": "US",
            "zip": "53202"
        },
        "line_items": [
            {
                "id": 100009,
                "item_id": "string",
                "name": "Line Item 1",
                "sku": "UABSTAQUBXL3",
                "style": "3001",
                "color": "AQUA",
                "size": "3XL",
                "unit_price": 14.4,
                "quantity": 1,
                "point_earned": 1440,
                "price": 14.4,
                "print_areas": {
                    "front": "url"
                },
                "preview_areas": {
                    "front": "url"
                },
                "shipping_price": 24
            }
        ],
        "shipments": []
    }
}
Modified at 2024-01-03 16:51:34
Previous
Update Order
Next
List Catalogs
Built with