List all order batches
Your Goody API key.
Page for pagination, starting at 1
Items per page for pagination
Authorizations
Your Goody API key.
Query Parameters
Page for pagination, starting at 1
x > 1
Items per page for pagination
1 < x < 100
Response
The pending
status indicates that an order batch is being prepared to be sent out. If it is not scheduled, it is being sent asynchronously. If it is scheduled, it will stay in pending
state until the scheduled time is reached, at which point it will be processed and moved to complete
. When it is in pending
status, no orders are created yet. When the order batch is in complete
status, all orders are created and available.
pending
, complete
, failed
, canceled
The name of the sender. This is displayed on the order and notifications.
The message in this order batch, provided by the sender.
The total number of orders in this order batch. This might be blank if the order batch is scheduled for the future, or it could be fewer than the recipient count if the order batch is in the process of being sent.
A preview of the first 10 orders in this order batch. To paginate through all of the orders, use the /order_batches/:id/orders
endpoint with ?page&per_page
. If your use case never sends more than 10 orders in a single batch, you can use this field instead of calling /order_batches/:id/orders
. For order batches with more than 10 recipients, this array will be empty while the orders are asynchronously created in the background.
created
, notified
, opened
, accepted
, pending_payment
, paid
, ordered
, shipped
, delivered
, failed
, canceled
This gift link can be sent to the recipient or shared with the sender. For privacy reasons, this gift link does not display tracking information. A separate link, the recipient link, is sent directly to the recipient after they accept their gift, which does contain tracking information.
The cart currently on this order. If the order is a gift that was swapped, cart
displays the most recent products selected (i.e. post-swap).
A list of the shipments for the order.
pending
, tracking
, shipped
, delivered
, delivered_override
, failed
, failed_unset_tracking
, failed_with_reship
The name of the brand that this shipment is from.
The carrier for this shipment, e.g. UPS.
Only for approved distribution partners.
ISO 8601
ISO 8601
The estimated delivery time of this shipment.
Organizations are sub-divided into workspaces. Orders are contained in workspaces, identified by this ID.
For gifts, the date and time the gift is set to expire.
The digital greeting card on this gift.
The message in this gift, provided by the sender.
A thank you note sent by the recipient.
The number of times the recipient viewed the gift.
If this gift was swapped by the recipient. Swapping allows a recipient to select another product or products, which replaces the cart
. The original products are saved to original_cart
.
On Goody for Business, all orders are attached to a order batch, which is a collection of one or more orders.
Costs in USD cents (i.e. $1.00 = 100). If the order was swapped, amounts
displays the most recent amounts (i.e. post-swap).
Total cost of the products in this order.
Total cost of shipping for this order.
Total cost of the products, shipping, and processing fees in this order.
Total cost of processing fees for this order.
Total amount of credit applied to this order.
Total tax for this order.
Total cost of the products, shipping, processing fees, tax, and global shipping costs in this order.
Total cost of global shipping for this order through the Global Relay service.
Only provided when calling the /orders/:id endpoint.
ISO 8601
When the recipient was notified of the order.
For gifts, when the recipient opened the order.
For gifts, when the recipient accepted the order.
When the order entered pending payment status.
When the order was paid for.
When the order was first shipped. If there are multiple shipments, this is when the first shipment shipped.
When the order was delivered. If there are multiple shipments, this is when all shipments were delivered.
If this order is a gift that was swapped, this displays the original cart that was sent to the recipient.
If this order is a gift that was swapped, this displays the original amounts of the cart that was sent to the recipient.
For commerce apps using Hosted Payment, the payment link for the gift with the credit card entry form. Available when the gift is in pending_payment
status (after it has been accepted).
The reference ID displayed on receipts and other locations as the ID for this order.
The total number of recipients in this order batch.
A preview of the first 10 recipients in this order batch. To see all of the recipients, use /order_batches/:id/recipients
. Recipients contain the original contact information provided for each recipient when the order batch was created.
The cart that was sent for this order batch. This is the original cart that was created for this order batch. If individual orders were swapped, this still remains the same, whereas orders' cart
would change if they were swapped.
Whether this order batch was set up as a scheduled send. This stays as true
after the scheduled send is complete. To determine if the order batch is scheduled to be sent for the future, check if status
is pending
and scheduled_send_on
is in the future. When a order batch is scheduled, orders are only created on the scheduled send date.
The date and time the order batch is scheduled to be sent. This will be null
if the order batch is not a scheduled send. This field remains after the scheduled send completes. ISO 8601, UTC.
The date and time the order batch is set to expire. ISO 8601, UTC.
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.
email_and_link
, link_multiple_custom_list
, direct_send
An internal name for the order batch, falling back to an auto-generated batch name. Not displayed to recipients.
The digital greeting card on this order batch.
Organizations are sub-divided into workspaces. Order batches are contained in workspaces, identified by this ID.
The reference ID displayed on receipts and other locations as the ID for this order batch.