---
updatedAt: 2026-08-03T17:21:30.000Z
---

# Labels detail by purchase order id

<div class="amber-callout" aria-label="Migration notice"><p><strong>Migrate to Global APIs:</strong> New sellers and approved Solution Providers should use Global APIs. Existing users must migrate to avoid disruption and access new capabilities coming to your market. Explore <a href ="https://developer.walmart.com/global-marketplace/docs/global-marketplace-apis" style="text-decoration: underline !important; font-weight: 700;">Global Marketplace migration resources</a>.</p></div><br> Retrieves tracking details for a Purchase Order Id

[block:html]
{
  "html": "<a\n  href=\"https://god.gw.postman.com/run-collection/34477757-b29a5be8-246b-441d-b695-b4e04478f380?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D34477757-b29a5be8-246b-441d-b695-b4e04478f380%26entityType%3Dcollection%26workspaceId%3D956a886d-5b0c-4e87-a28b-d31688fc1cc8\"\n  target=\"_blank\"\n  style=\"text-decoration: none\"\n>\n  <button>\n    <img\n      src=\"https://run.pstmn.io/button.svg\"\n      alt=\"Run In Postman\"\n      style=\"width: 128px; height: 32px\"\n    />\n  </button>\n</a>"
}
[/block]

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "version": "1.0",
    "title": "International Shipping",
    "description": "The International Shipment APIs which allows US sellers to ship items to Mexico internationally, via Ship With Walmart service."
  },
  "x-readme": {
    "samples-languages": [
      "shell"
    ],
    "proxy-enabled": false,
    "explorer-enabled": true
  },
  "servers": [
    {
      "url": "https://marketplace.walmartapis.com",
      "description": "Production URL"
    },
    {
      "url": "https://sandbox.walmartapis.com",
      "description": "Sandbox URL"
    }
  ],
  "security": [
    {
      "basicScheme": []
    }
  ],
  "paths": {
    "/v3/shipping/labels/purchase-orders/{purchaseOrderId}": {
      "get": {
        "tags": [
          "International Shipping"
        ],
        "summary": "Labels detail by purchase order id",
        "description": "<div class=\"amber-callout\" aria-label=\"Migration notice\"><p><strong>Migrate to Global APIs:</strong> New sellers and approved Solution Providers should use Global APIs. Existing users must migrate to avoid disruption and access new capabilities coming to your market. Explore <a href =\"https://developer.walmart.com/global-marketplace/docs/global-marketplace-apis\" style=\"text-decoration: underline !important; font-weight: 700;\">Global Marketplace migration resources</a>.</p></div><br> Retrieves tracking details for a Purchase Order Id",
        "operationId": "getLabel",
        "parameters": [
          {
            "name": "purchaseOrderId",
            "in": "path",
            "description": "purchaseOrderId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "WM_MARKET",
            "in": "header",
            "schema": {
              "type": "string",
              "enum": [
                "mx"
              ]
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "description": "Basic authorization header. Base 64 encodes the Client ID and Client Secret retrieved in step two of the integration steps.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Basic YzcyOTFjNmItNzI5MC00...."
          },
          {
            "in": "header",
            "name": "WM_SEC.ACCESS_TOKEN",
            "description": "The access token retrieved in the Token API call",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM....."
          },
          {
            "in": "header",
            "name": "WM_CONSUMER.CHANNEL.TYPE",
            "description": "A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "WM_QOS.CORRELATION_ID",
            "description": "A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "b3261d2d-028a-4ef7-8602-633c23200af6"
          },
          {
            "in": "header",
            "name": "WM_SVC.NAME",
            "description": "Walmart Service Name",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Walmart Service Name"
          },
          {
            "in": "header",
            "name": "Accept",
            "description": "Only supported Media Type : application/json",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Operation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "data",
                      "items": {
                        "type": "object",
                        "properties": {
                          "purchaseOrderId": {
                            "type": "string",
                            "description": "Purchase Order Id "
                          },
                          "trackingNo": {
                            "type": "string",
                            "description": "Tracking Number"
                          },
                          "boxItems": {
                            "type": "array",
                            "description": "Box Items",
                            "items": {
                              "required": [
                                "quantity",
                                "sku"
                              ],
                              "type": "object",
                              "properties": {
                                "sku": {
                                  "type": "string",
                                  "description": "sku of an item"
                                },
                                "quantity": {
                                  "type": "integer",
                                  "description": "Quantity of Item",
                                  "format": "int32"
                                },
                                "lineNumber": {
                                  "type": "string",
                                  "description": "primeLineNo from orders response"
                                }
                              },
                              "description": "Box Items"
                            }
                          },
                          "carrierName": {
                            "type": "string",
                            "description": "Carrier Short Name"
                          },
                          "carrierFullName": {
                            "type": "string",
                            "description": "Carrier Full Name"
                          },
                          "carrierServiceType": {
                            "type": "string",
                            "description": "Carrier Service Type"
                          },
                          "trackingUrl": {
                            "type": "string",
                            "description": "Tracking URL"
                          },
                          "shippingDocuments": {
                            "type": "object",
                            "properties": {
                              "documentFormat": {
                                "type": "string"
                              },
                              "documentType": {
                                "type": "string"
                              },
                              "base64EncodedDocument": {
                                "type": "string"
                              }
                            },
                            "description": "Shipping Documents"
                          }
                        },
                        "description": "data"
                      }
                    },
                    "errors": {
                      "type": "array",
                      "description": "errors",
                      "items": {
                        "type": "object",
                        "properties": {
                          "info": {
                            "type": "string",
                            "description": "error info"
                          },
                          "code": {
                            "type": "string",
                            "description": "error code"
                          },
                          "field": {
                            "type": "string",
                            "description": "field"
                          },
                          "description": {
                            "type": "string",
                            "description": "error description"
                          },
                          "severity": {
                            "type": "string",
                            "description": "error severity",
                            "enum": [
                              "EMERG",
                              "ALERT",
                              "CRITICAL",
                              "ERROR",
                              "WARN"
                            ]
                          },
                          "category": {
                            "type": "string",
                            "description": "error category",
                            "enum": [
                              "APPLICATION",
                              "SERVICE",
                              "REQUEST",
                              "DATA"
                            ]
                          },
                          "httpStatus": {
                            "type": "integer",
                            "description": "error http status",
                            "format": "int32"
                          }
                        },
                        "description": "errors"
                      }
                    }
                  }
                },
                "example": {
                  "data": [
                    {
                      "purchaseOrderId": "P100569013",
                      "trackingNo": "019154094082",
                      "boxItems": [
                        {
                          "sku": "SKU_28072021",
                          "quantity": 1
                        }
                      ],
                      "carrierName": "FedEx",
                      "carrierFullName": "FedEx",
                      "carrierServiceType": "FedEx International Priority",
                      "trackingUrl": "https://www.fedex.com/apps/fedextrack/?action=track&tracknumbers=019154094082&locale=en_MX&cntry_code=mx"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}
```