shipmentPackingListUrl
Requires permission sales:shipment:read.
A signed link to the Packing List PDF of one shipment: one section per box (box n of N, box name and size, its items with SKU, name and quantity, a fragile marker and the box weight). No prices or costs.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query ShipmentPackingListUrl($id: ID!) {
shipmentPackingListUrl(id: $id)
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query ShipmentPackingListUrl($id: ID!) {\n shipmentPackingListUrl(id: $id)\n}",
"variables": {
"id": "id"
}
}
EOF
Variables:
{
"id": "id"
}
Response:
{
"data": {
"shipmentPackingListUrl": "string"
}
}
shipmentPackingListUrl(
id: ID!
): String!
Arguments
shipmentPackingListUrl.id ● ID! non-null scalar
The ID of the shipment.
Type
String scalar
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.