Skip to main content
POST
Calculate the price for an order batch
You can calculate the total price for an order batch before you create it, given a cart, recipients, and send method. To use a specific address, pass the direct_send send method.

Authorizations

Authorization
string
header
required

Your Goody API key.

Body

application/json

Input parameters for an order batch price calculation.

recipients
object[]
required
cart
object
required
send_method
enum<string>
required

The method for sending a order batch. email_and_link sends a gift email to the recipient (specify email for each recipient). link_multiple_custom_list generates a gift link without an automatic email. direct_send ships the product directly to the recipient (specify mailing_address for each recipient). For more information, see Send Methods.

Available options:
email_and_link,
link_multiple_custom_list,
direct_send

Response

Order batch price calculated

The price for an order batch (all in cents).

cart_price_estimate
object

Prices for a single recipient's cart in cents. This represents the price for each recipient in the order batch.

total_price_estimate
object

Total price estimates for the entire order batch in cents. This includes all recipients.