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 Order Price

POST
/v1/orders/estimate-price
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
rush_production
boolean 
required
shipping_method
string 
required
line_items
array [object {3}] 
required
quantity
integer 
optional
print_areas
object 
optional
sku
string 
optional
address
object 
required
country
string 
required
coupon_code
string 
required
order_type
string 
required
Example
{
    "boost_production": false,
    "shipping_method": "1",
    "line_items": [
        {
            "quantity": 1,
            "print_areas": {
                "front": "url",
                "back": "url"
            },
            "sku": "UAGHTBRRYEXL"
        }
    ],
    "address": {
        "country": "US"
    },
    "coupon_code": "code1"
}

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' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
    "boost_production": false,
    "shipping_method": "1",
    "line_items": [
        {
            "quantity": 1,
            "print_areas": {
                "front": "url",
                "back": "url"
            },
            "sku": "UAGHTBRRYEXL"
        }
    ],
    "address": {
        "country": "US"
    },
    "coupon_code": "code1"
}'

Responses

🟢200Success
application/json
Body
address
object 
required
country
string 
required
shipping_method
string 
required
boost_production
boolean 
required
line_items
array [object {7}] 
required
sku
string 
optional
quantity
integer 
optional
print_areas
object 
optional
unit_price
number 
optional
price
number 
optional
point_earned
integer 
optional
shipping_price
number 
optional
item_total
number 
required
shipping_total
number 
required
surcharge_total
integer 
required
order_total
number 
required
point_used
integer 
required
point_earned
integer 
required
discount
number 
required
Example
{
    "address": {
        "country": "US"
    },
    "shipping_method": "1",
    "boost_production": false,
    "line_items": [
        {
            "sku": "UAGHTBRRYEXL",
            "quantity": 1,
            "print_areas": {
                "front": "url",
                "back": "url"
            },
            "unit_price": 14.8,
            "price": 14.8,
            "point_earned": 380,
            "shipping_price": 4.99
        }
    ],
    "item_total": 14.8,
    "shipping_total": 4.99,
    "surcharge_total": 0,
    "order_total": 19.79,
    "point_used": 1979,
    "point_earned": 0,
    "discount": 0.4
}
Modified at 2024-01-03 07:36:12
Previous
Cancel Order
Next
Estimate Item Price
Built with