Get Order
GET
/v1/orders/{id}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
Accept
string
required
Example:
application/json
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 GET 'https://api-v2.fastpod.net/v1/orders/' \
--header 'Accept: application/json'
Responses
🟢200OK
application/json
Body
id
string
required
order_type
string
required
reference_id
string
required
order_status
string
required
test_order
boolean
required
item_total
number
required
shipping_total
integer
required
surcharge_total
integer
required
labeling_fee
integer
required
peak_season_surchage
integer
required
order_total
integer
required
payment_method
string
required
payment_status
string
required
point_earned
integer
required
point_used
integer
required
quantity_total
integer
required
shipping_method
string
required
rush_production
boolean
required
gift_message
null
required
tax_id
null
required
tax_id_type
null
required
created_at
string
required
updated_at
string
required
rejected_at
null
required
rejected_status
null
required
cancelled_at
null
required
address
object
required
name
string
required
company
string
required
email
string
required
phone
string
required
street1
string
required
street2
string
required
city
string
required
state
string
required
country
string
required
zip
string
required
line_items
array [object {14}]
required
id
integer
optional
item_id
string
optional
name
string
optional
sku
string
optional
style
string
optional
color
string
optional
size
string
optional
unit_price
integer
optional
quantity
integer
optional
point_earned
integer
optional
price
number
optional
discount
number
optional
print_areas
object
optional
preview_areas
object
optional
shipments
array[string]
required
label_url
string
required
coupon_code
string
required
discount_total
integer
required
discount_labeling_fee
integer
required
Examples
{
"id": "F237-120723-000001",
"reference_id": "string",
"order_status": "cancelled",
"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-07T08:29:50.000000Z",
"rejected_at": null,
"rejected_status": null,
"cancelled_at": "2023-12-07T08:29:50.000000Z",
"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,
"quantity": 1,
"point_earned": 1440,
"price": 14.4,
"print_areas": {
"front": "url"
},
"preview_areas": {
"front": "url"
}
}
],
"shipments": [],
"discount_total": null
}
🟠422Parameter Error
Modified at 2023-12-18 02:25:59