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

Estimate Item Price

POST
/v1/orders/estimate-price/line-item
The API responds with the price of the order and the number of points you can receive if you subscribe to the Rocket Fuel program.

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
Body Params application/json
quantity
integer 
required
The number of items to fulfill. Should be equal to or greater than 1
print_areas
object 
required
Array of print images on the product. Each product will support various printing areas; for specific details, please refer to the Fastpod catalog. The possible values include: front, back, pocket, neck_label, right_sleeve, left_sleeve.
front
string 
required
back
string 
required
sku
string 
required
The SKU for the item variant to fulfill. You can access all available IDs for an item in the Fastpod catalog.
Example
{
    "quantity": 1,
    "print_areas": {
        "front": "url",
        "back": "url"
    },
    "sku": "UAGHTBRRYEXL"
}

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 POST 'https://api-v2.fastpod.net/v1/orders/estimate-price/line-item' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
    "quantity": 1,
    "print_areas": {
        "front": "url",
        "back": "url"
    },
    "sku": "UAGHTBRRYEXL"
}'

Responses

🟢200Success
application/json
Body
sku
string 
required
The SKU for the item variant to fulfill. You can access all available IDs for an item in the Fastpod catalog.
quantity
integer 
required
The number of items to fulfill. Should be equal to or greater than 1
print_areas
object 
required
Array of print images on the product. Each product will support various printing areas; for specific details, please refer to the Fastpod catalog. The possible values include: front, back, pocket, neck_label, right_sleeve, left_sleeve.
front
string 
required
back
string 
required
unit_price
number 
required
The cost of one item
price
number 
required
The cost of one item multiplied by the quantity
point_earned
integer 
required
The points that a user is rewarded when participating in the Rocket Fuel Program and paying for these items in cash
surcharge_total
integer 
required
The boost production fee
Example
{
    "sku": "UAGHTBRRYEXL",
    "quantity": 1,
    "print_areas": {
        "front": "url",
        "back": "url"
    },
    "unit_price": 14.8,
    "price": 14.8,
    "point_earned": 0,
    "surcharge_total": 1
}
Modified at 2023-12-18 03:12:34
Previous
Estimate Order Price
Next
Update Order
Built with