Skip to main content

Preview Order

Preview prospecting campaign order pricing.

Request Body
card_id integer REQUIRED

ID of card

country string REQUIRED

United States or Canada

insert_id integer

ID of the insert

message string REQUIRED

Handwrytten message on the card

must_deliver_by string

Format: MM/DD/YYYY

records integer REQUIRED

Number of cards to send

return_address_id integer REQUIRED

ID of the return address

shipping_address_id integer

ID of the shipping address

shipping_method_id integer

Possible values: [1, 2, 3, 4, 5, 6]

Shipping method.

  • 1: Mail Normally
  • 2: Ship: Address, Seal, Stamp
  • 3: Ship: Cards Only (no envelope)
  • 4: Ship: Cards Only (blank envelope unsealed)
  • 5: Ship: Addressed & Unsealed
  • 6: Ship: Addressed & Sealed
shipping_rate_id integer

Possible values: [1, 2, 3, 4]

Shipping rate.

  • 1: Ground
  • 2: 2-Day
  • 3: Overnight
  • 4: Overnight Priority
Responses
200

OK

Schema
httpCode integer

Possible values: [200]

status string

Possible values: [ok]

prices object
tax number

Taxes

card_price number

Total cards cost

postage_price number

Postage cost

insert_price number

Inserts cost

shipping_price number

Shipping cost

without_tax number

Total order cost

total number

Total order cost with taxes

quantity integer

Number of cards

400

Bad Request

Schema
httpCode integer

Possible values: [400]

status string

Possible values: [error]

message string

Error message

440

Login Timeout

Schema
httpCode integer

Possible values: [440]

status string

Possible values: [error]

message string

Possible values: [Session has been expired.]

Error message