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:
Property | Required | Max Length |
---|---|---|
shipFrom.name | Yes | 20 |
shipFrom.address1 | Yes | 30 |
shipFrom.city | Yes | 15 |
shipFrom.state | Yes | 2 |
shipFrom.zip | Yes | 5 |
shipTo.name | Yes | 30 |
shipTo.address1 | Yes | 30 |
shipTo.city | Yes | 15 |
shipTo.state | Yes | 2 |
shipTo.zip | Yes | 5 |
carrier.code | Yes | 4 |
carton.number | Yes | 5 |
carton.max | Yes | 5 |
shipment.locationNumber | Yes | 10 |
shipment.sscc-18 | Yes | 26 |
shipment.proNumber | Yes | 30 |
item.upcNumber | Yes | 30 |
item.skuNumber | Yes | 10 |
case.pack | Yes | 5 |
purchaseOrder.number | Yes | 30 |
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
Updated 24 days ago