Marine Corps Exchange UCC-128 Label Requirements

This page has information about the label requirements for the Marine Corps Exchange (MCX). For more general information about Orderful's shipping label product, see Generate a UCC-128 (GS1-128) Label.

In addition to the type property with value MARINE_CORPS_EXCHANGE, the following properties can be included in your label payload:

PropertyRequiredMax Length
shipFrom.nameYes20
shipFrom.address1Yes30
shipFrom.cityYes15
shipFrom.stateYes2
shipFrom.zipYes5
shipTo.nameYes30
shipTo.address1Yes30
shipTo.cityYes15
shipTo.stateYes2
shipTo.zipYes5
carrier.codeYes4
carton.numberYes5
carton.maxYes5
shipment.locationNumberYes10
shipment.sscc-18Yes26
shipment.proNumberYes30
item.upcNumberYes30
item.skuNumberYes10
case.packYes5
purchaseOrder.numberYes30

Example Payload

{
    "type": "MARINE_CORPS_EXCHANGE",
    "shipFrom": {
        "name": "Your Company",
        "address1": "345 Main St",
        "city": "Example",
        "state": "VA",
        "zip": "12345"
    },
    "shipTo": {
        "name": "MCX Ship To Name",
        "address1": "123 Anywhere St",
        "city": "Example",
        "state": "TX",
        "zip": "85040"
    },
    "carrier": {
        "code": "ABCD"
    },
    "carton": {
        "number": 3,
        "max": 14
    },
    "shipment": {
        "locationNumber": "13100",
        "sscc-18": "(00) 0 0042273 000000113 1",
        "proNumber": "1234567890"
    },
    "item": {
        "upcNumber": "123456789012",
        "skuNumber": "15922115"
    },
    "case": {
        "pack": 1
    },
    "purchaseOrder": {
        "number": "111111111111111111111111111111"
    }
}

ZPL Response

Orderful will return a HTTP 201 Created along with the ZPL-format text to send to your label printer:

^XA
^CF0,25

^FO0,0^GB406,160,2^FS
^FO20,20^FDShip From:^FS

[...]

^XZ

Marine Corp Exchange's Shipping Label Example