An Order Shipment event is sent when items have been shipped from the warehouse to the customer. The event message also contains current pricing. For customers using external payments, it is recommended that Order Shipment is the time that a customer’s credit card is invoiced.

Radial supports two different ways to receive event messages from this API and other event-based APIs.

  • If you use the queue-based implementation with AMQP, each event is sent in its own OrderShipped message. These events can be sent in XML or JSON.

  • If you use the webhooks-based implementation, a set of events is grouped together in an OrderShippedList message. The events can be sent in XML or JSON.

XML Schemas:

Ship Confirm Event Types:

  • Regular Ship Confirm Event
  • ZCR Ship Confirmation Event

XPath: /OrderShipped/MessageSource

Regular Ship Confirm Event <MessageSource/>
ZCR Ship Confirmation Event <MessageSource>ZCRShipConfirm</MessageSource>

OrderShipped Messages

For queue-based implementations, a new OrderShipped message is generated for each new event.

Queue name: q.Order.Shipment.<StoreCode>.2-0

Single-Event Message Examples

Click any heading below to view the contents of the sample message file.

OrderShippedList Messages

For Webhooks-based implementations, Order Shipment Confirm events are grouped together in one OrderShippedList message.

Event List Message Examples

Click any heading below to view the contents of the sample message file.

Example: JSON Format

Note: If you want to use the JSON format, contact your Radial representative for the XML to JSON mappings.

Copy
{
    "customer": {
        "name": {
            "lastName": "Jones",
            "firstName": "Indiana"
        },
        "emailAddress": "TESTFRAUD@radial.com",
        "customerId": "null4188504045"
    },
    "orderSource": "WEB",
    "messageSource": null,
    "orsoCode": "EB2C",
    "shipDate": "2023-05-17T12:41:58+0000",
    "totalOrderLine": "2",
    "totalShippedLine": "2",
    "shippedOrderItems": [
        {
            "description": {
                "description": "Black Tennis Shoes",
                "sku": "21252052",
                "upc": "0360123652011",
                "globalId": "21252052",
                "title": "Black Tennis Shoes",
                "color": {
                    "id": "700",
                    "text": "Brown"
                },
                "size": {
                    "id": "6-M",
                    "text": "6-M"
                },
                "styleNumber": "84529",
                "productImageURL": null
            },
            "pricing": {
                "amount": "113.00",
                "unitPrice": "114.00"
            },
            "carrier": {
                "value": "UPS",
                "mode": "GND51",
                "displayText": null
            },
            "trackingNumberList": {
                "trackingInfo": {
                    "trackingNumber": "1Z1000238207277215",
                    "trackingURL": "https://narvar.com/tracking/tmsus/narvar?tracking_numbers=1Z1000238207277215&dzip=19406&src=sce&order_number=0002602253461653&carrier=UPS&type=ret"
                }
            },
            "fulfillmentMethod": "SHIP_TO_HOME",
            "orderItemKind": "physical",
            "additionalValues": [
                {
                    "key": "PVAR_DESC_COLOR",
                    "value": "Brown"
                },
                {
                    "key": "requestLineId",
                    "value": "item_2"
                },
                {
                    "key": "OrderAttrName1",
                    "value": "OrderAttrVal1"
                },
                {
                    "key": "ExtnScheduledMaxDelDate",
                    "value": "2024-04-19T13:18:40Z"
                }
            ],
            "itemRelationships": null,
            "webLineId": "2",
            "itemId": "21-ISPUProd02",
            "quantity": "1",
            "shippedQuantity": "1",
            "id": "Key-2",
            "orderItemStatus": "COMPLETELY_SHIPPED"
        }
    ],
    "shippedDestination": {
        "shippedAddress": {
            "personName": {
                "lastName": "Jones",
                "firstName": "Indiana"
            },
            "address": {
                "line1": "630 Allendale Road",
                "city": "King of Prussia",
                "mainDivision": "PA",
                "countryCode": "US",
                "postalCode": "19406"
            },
            "phoneNumber": "6102223333",
            "emailAddress": "TESTFRAUD@radial.com"
        }
    },
    "billingAddress": {
        "personName": {
            "lastName": "Jones",
            "firstName": "Indiana"
        },
        "address": {
            "line1": "630 Allendale Road",
            "city": "King of Prussia",
            "mainDivision": "PA",
            "countryCode": "US",
            "postalCode": "19406"
        },
        "phoneNumber": "6102223333",
        "emailAddress": "TESTFRAUD@radial.com"
    },
    "orderSummary": {
        "payments": {
            "payment": {
                "paymentDescription": "VC",
                "paymentTenderType": "CreditCard",
                "paymentMaskedAccount": "***********1111",
                "paymentAmount": "113.00"
            }
        },
        "orderTaxesDutiesFeesInformations": [
            {
                "taxDescription": {
                    "value": "USSalesTax",
                    "amount": "0.00"
                }
            },
            {
                "taxDescription": {
                    "value": "TotalTaxAmount",
                    "amount": ""
                }
            }
        ],
        "totalAmount": "113.00",
        "totalTaxAmount": "0.00",
        "giftWrapAmount": "0.00",
        "subTotalAmount": "113.00",
        "shippedAmount": "0.00",
        "dutyAmount": "0.00",
        "feesAmount": "0.00",
        "discountAmount": "0.00"
    },
    "additionalAttributes": [
        {
            "key": "MAJOR_ORDER_GRP_ATTR",
            "value": "shipgroup_1"
        },
        {
            "key": "OrderAttrName1",
            "value": "OrderAttrVal1"
        },
        {
            "key": "eventTimestamp",
            "value": "2024-04-17T13:23:26.864Z"
        },
        {
            "key": "RETURN_DOT_COM_URL",
            "value": "lvsdevreturnuiapp04-01.gspt.net/en/Themodelstore_us"
        }
    ],
    "customerOrderId": "0002602253461653",
    "storeId": "TMSUS",
    "locale": "en_US",
    "orderDate": "2024-04-17T12:18:39.000Z",
    "currencySymbol": "$",
    "currency": "USD"
}