> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FulfillmentGroupsLabelPurchaseResult

> The batch a label purchase started, and the groups left out.

**Required scopes:** [`shipping_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-shipping_write)

**batch** `[FulfillmentBatch](/docs/api-reference/v3/reference/shipping/fulfillment-batch)`

The batch buying the labels; follow its `labelPurchases`. Null when no group could be bought.

**fields**

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the batch was created.

**id** `ID!` *required*

The id of this batch.

**labelPurchases** `[\[FulfillmentBatchLabelPurchase!\]](/docs/api-reference/v3/reference/shipping/fulfillment-batch-label-purchase)`

Where buying each group's label stands, with the error the batch saved for a group that failed. Read the batch again until none is PURCHASING.

**Requires:** [`shipping_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-shipping_read)

**fields**

**error** `String`

Why the purchase failed, as the batch saved it.

**fulfillmentGroup** `[FulfillmentGroup](/docs/api-reference/v3/reference/shipping/fulfillment-group)`

The group. Its `shipments` carry the bought label's carrier, service, rate, tracking number and label.

**status** `[LabelPurchaseStatus!](/docs/api-reference/v3/reference/shipping/label-purchase-status)` *required*

PURCHASING, PURCHASED or FAILED.

**name** `String!` *required*

The batch number shown in the Redo app, e.g. "0030".

**status** `[FulfillmentBatchStatus!](/docs/api-reference/v3/reference/shipping/fulfillment-batch-status)` *required*

Where the batch is in its lifecycle.

**skipped** `[\[FulfillmentGroupLabelPurchaseItem!\]!](/docs/api-reference/v3/reference/shipping/fulfillment-group-label-purchase-item)` *required*

The groups that weren't bought, in the order given; at most 500.

**fields**

**code** `String`

Why the item was skipped or failed: NOT\_FOUND, the group doesn't exist or isn't visible to the caller; ALREADY\_PURCHASING, another purchase is buying its label, so follow `fulfillmentGroup.batch`; NOT\_PURCHASABLE, its status isn't OPEN or PAYMENT\_PENDING or its rates are still loading; NO\_SELECTED\_RATE, it has no selected rate. Null when it is OK.

**fulfillmentGroup** `[FulfillmentGroup](/docs/api-reference/v3/reference/shipping/fulfillment-group)`

The group. Its `batch` is the purchase that owns it when ALREADY\_PURCHASING. Null when NOT\_FOUND.

**fields**

**addressVerification** `[AddressVerification!](/docs/api-reference/v3/reference/shipping/address-verification)` *required*

Whether the group's addresses were verified.

**assignee** `[TeamMember](/docs/api-reference/v3/reference/common/team-member)`

The team member the group is assigned to. Null when unassigned, or the member isn't on the caller's team.

**Requires:** [`shipping_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-shipping_read)

**batch** `[FulfillmentBatch](/docs/api-reference/v3/reference/shipping/fulfillment-batch)`

The batch the group's label was bought in. Null before a label is bought, or when the batch isn't the caller's.

**Requires:** [`shipping_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-shipping_read)

**billingAddress** `[ShippingAddress](/docs/api-reference/v3/reference/shipping/shipping-address)`

The order's billing address, if any.

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the group was created.

**customer** `[OrderCustomer](/docs/api-reference/v3/reference/orders/order-customer)`

The customer the group ships to, if known.

**customs** `[FulfillmentGroupCustoms](/docs/api-reference/v3/reference/shipping/fulfillment-group-customs)`

The customs details. Null when the group ships within one country.

**deliveryMethod** `[DeliveryMethodKind](/docs/api-reference/v3/reference/shipping/delivery-method-kind)`

How the customer chose to receive the order.

**destinationAddress** `[ShippingAddress](/docs/api-reference/v3/reference/shipping/shipping-address)`

Where the group ships to.

**events** `[\[FulfillmentGroupEvent!\]!](/docs/api-reference/v3/reference/shipping/fulfillment-group-event)` *required*

What happened to the group, newest first.

**fulfillBy** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the group must ship by: the merchant's override, else the service-level date.

**fulfillerAccountId** `ID`

The account that ships the group: a 3PL, or the merchant itself, when it equals `merchantAccountId`.

**fulfillmentOrders** `[\[FulfillmentGroupFulfillmentOrder!\]!](/docs/api-reference/v3/reference/shipping/fulfillment-group-fulfillment-order)` *required*

The fulfillment orders the group ships. A merged group spans several orders.

**holdReleaseAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When Redo releases the group's holds on its own. Null when it isn't on hold or has no release scheduled.

**id** `ID!` *required*

The id of this fulfillment group.

**labelPurchase** `[FulfillmentGroupLabelPurchase!](/docs/api-reference/v3/reference/shipping/fulfillment-group-label-purchase)` *required*

Where buying the group's label stands.

**linkedGroup** `[FulfillmentGroupLink](/docs/api-reference/v3/reference/shipping/fulfillment-group-link)`

The group this one was merged into, was replaced by, or was copied from. Null when there is none.

**Requires:** [`shipping_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-shipping_read)

**marketplaceNotification** `[FulfillmentGroupMarketplaceNotification](/docs/api-reference/v3/reference/shipping/fulfillment-group-marketplace-notification)`

Whether the group's fulfillment was recorded on its sales channel. Null until Redo tries to record it.

**merchantAccountId** `ID`

The account of the store that owns the group.

**notes** `[FulfillmentGroupNotes!](/docs/api-reference/v3/reference/shipping/fulfillment-group-notes)` *required*

Notes on the group.

**orderCreatedAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the group's order was placed.

**originAddress** `[ShippingAddress](/docs/api-reference/v3/reference/shipping/shipping-address)`

Where the group ships from.

**packages** `[OutboundShipmentPackageConnection!](/docs/api-reference/v3/pagination)` *required*

The labels bought for the group, each with its tracking number and tracker. Readable by the store and by the 3PL that ships the group, without pricing.

**Requires:** [`shipping_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-shipping_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns packages after it.

**before** `String`

Backward pagination cursor — returns packages before it.

**first** `Int`

Forward pagination: returns the first N packages (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N packages (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**parcels** `[\[FulfillmentGroupParcel!\]!](/docs/api-reference/v3/reference/shipping/fulfillment-group-parcel)` *required*

The parcels the group ships in. Empty for pickup, or before packaging is chosen.

**rates** `[FulfillmentGroupRates!](/docs/api-reference/v3/reference/shipping/fulfillment-group-rates)` *required*

The rates quoted for the group. The store gets no quotes when its 3PL ships the group.

**requestedShipping** `[FulfillmentGroupRequestedShipping](/docs/api-reference/v3/reference/shipping/fulfillment-group-requested-shipping)`

The shipping method the customer chose, from the group's first fulfillment order.

**selectedRate** `[FulfillmentGroupSelectedRate](/docs/api-reference/v3/reference/shipping/fulfillment-group-selected-rate)`

The rate chosen for the label. Null when none is chosen, and for the store when its 3PL ships the group.

**Requires:** [`shipping_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-shipping_read)

**shipments** `[\[CarrierShipment!\]!](/docs/api-reference/v3/reference/shipping/carrier-shipment)` *required*

The carrier shipments bought for the group. Usually one; a group of several parcels on a carrier that labels each parcel separately (e.g. USPS) has one per parcel. Each caller sees the shipments its own team bought, so the store sees none on a group its 3PL ships.

**shippingOptions** `[FulfillmentGroupShippingOptions!](/docs/api-reference/v3/reference/shipping/fulfillment-group-shipping-options)` *required*

Options on buying and delivering the label.

**status** `[FulfillmentGroupStatus!](/docs/api-reference/v3/reference/shipping/fulfillment-group-status)` *required*

Where the group is in its lifecycle.

**tags** `[\[FulfillmentGroupTag!\]!](/docs/api-reference/v3/reference/shipping/fulfillment-group-tag)` *required*

The group's tags.

**totals** `[FulfillmentGroupTotals!](/docs/api-reference/v3/reference/shipping/fulfillment-group-totals)` *required*

What the group's items cost the customer.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the group last changed.

**useOriginalDestinationAddress** `Boolean!` *required*

Whether the group ships to the original destination address rather than the cleaned one in `addressVerification.destination`. The cleaned one is used only when the store auto-cleans addresses.

**id** `ID!` *required*

The id this item answers, as it was given. A repeated id has one item.

**message** `String`

The same, in words. Null when it is OK.

**status** `[BulkItemStatus!](/docs/api-reference/v3/reference/common/bulk-item-status)` *required*

What the action did with the item.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.