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

# Shipping labels

> Shopify Shipping labels: cost, count and average, what the orders charged for shipping, and shipping profit, by carrier and service.

Shopify Shipping labels: cost, count and average, what the orders charged for shipping, and shipping profit, by carrier and service.

## Example

```sql theme={null}
FROM shipping_labels
  SHOW shipping_label_costs, shipping_labels
  GROUP BY shipping_carrier
  SINCE startOfMonth(-1m) UNTIL today
  ORDER BY shipping_label_costs DESC
```

## Metrics

| Metric | Type | Description |
| - | - | - |
| `shipping_label_costs` | Currency | What the Shopify Shipping labels cost. |
| `shipping_labels` | Number | Shopify Shipping labels bought. |
| `average_shipping_label_cost` | Currency | Label costs divided by labels. |
| `shipping_charged` | Currency | What the labelled orders charged customers for shipping, before tax. |
| `shipping_profit` | Currency | Shipping charged minus label costs: what shipping made or cost you. |

## Dimensions

| Dimension | Description |
| - | - |
| `shipping_carrier` | The label's carrier. |
| `order_name` | Order name, such as #1001. |
| `origin_country` | The country the label ships from. |
| `destination_country` | The country the label ships to. |
| `shipping_service` | The label's service. |

## Filters

| Filter | Type | Description |
| - | - | - |
| `order_name` | Text | Order name, such as #1001. |
| `origin_country` | Text | The country the label ships from. |
| `destination_country` | Text | The country the label ships to. |
| `shipping_service` | Text | The label's service. |
| `shipping_carrier` | Text | The label's carrier. |

## Linked records

Fields of the records this dataset reaches can be shown, grouped by and filtered on, written with a dot after the record (for example `order.name`). Each record's page lists its fields.

| Write | Record | Reached through |
| - | - | - |
| `order.<field>` | [Order](https://docs.queryful.app/queryfulql/records/order.md) | Order |
| `order.customer.<field>` | [Customer](https://docs.queryful.app/queryfulql/records/customer.md) | Order › Customer |
| `order.customer.company.<field>` | [Company](https://docs.queryful.app/queryfulql/records/company.md) | Order › Customer › Company |
| `order.company.<field>` | [Company](https://docs.queryful.app/queryfulql/records/company.md) | Order › Company |
| `order.company_location.<field>` | [Company location](https://docs.queryful.app/queryfulql/records/company_location.md) | Order › Company location |
| `order.company_location.company.<field>` | [Company](https://docs.queryful.app/queryfulql/records/company.md) | Order › Company location › Company |
| `order.location.<field>` | [Location](https://docs.queryful.app/queryfulql/records/location.md) | Order › Location |
| `order.market.<field>` | [Market](https://docs.queryful.app/queryfulql/records/market.md) | Order › Market |
| `shop.<field>` | [Store](https://docs.queryful.app/queryfulql/records/shop.md) | Store |

## Related datasets

* [Fulfillments](https://docs.queryful.app/queryfulql/datasets/fulfillments.md)
* [Fulfillment backlog](https://docs.queryful.app/queryfulql/datasets/fulfillment_orders.md)
* [Shipping methods](https://docs.queryful.app/queryfulql/datasets/shipping_methods.md)


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