Download OpenAPI specification:Download
fabric V2 Shipment for multi-tenant service provides real time update of shipments. This help you gain control of your customers' delivery experience; there by, improve customer loyalty and retention.
Creates shipment. An event is generated at this point to Invoice service for invoice creation. The response includes shipmentId, which is required for subsequent calls such as GET /shipment/{shipmentId} and PUT /shipment/{shipmentId}.
required | object (XSiteContext) Represents single or multi-tenancy |
Ok
Bad Request
Shipment Not Found
Internal Server Error
{- "shipmentNum": "78974156816152",
- "allocationId": "112345678912340",
- "invoiceId": "5674156816152",
- "poNumber": "1125",
- "vendorId": "56",
- "statusCode": "SHIPMENT_CREATED",
- "type": "STANDARD",
- "reshipmentReasonCode": "Order went missing",
- "shipDate": "2022-06-06T07:58:30.996Z",
- "locationNum": "132412",
- "locationType": "DC",
- "totalCartons": 2,
- "masterTrackingNumber": "TX112345678",
- "shipToId": "1",
- "shipToAddress": {
- "addressLine1": "888 Broadway",
- "addressLine2": "505 suite",
- "addressLine3": "string",
- "addressLine4": "string",
- "city": "New York",
- "state": "NY",
- "country": "USA",
- "postalCode": "1003",
- "type": "home",
- "latitude": 134.13413,
- "longitude": 757.0435
}, - "recipient": [
- {
- "name": {
- "first": "John",
- "middle": "string",
- "last": "Doe"
}, - "email": "support@abc.inc",
- "phone": {
- "number": 10612345678,
- "type": "MOBILE"
}
}
], - "cartons": [
- {
- "cartonNum": "1",
- "cartonType": "Package",
- "promisedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "estimatedShipDate": "2022-05-25T07:58:30.996Z",
- "estimatedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "shipmentMethod": "ground",
- "shipmentCarrier": "FEDEX",
- "weight": "500 gram",
- "trackingNumber": "1Z999AA10123456784",
- "trackingDetails": [
- {
- "event": "picked up",
- "eventId": "627963716b19511e8a3a631b",
- "timestamp": "2019-09-30T07:58:30.996Z",
- "shipmentCarrier": "FEDEX",
- "location": "Reno, NV",
- "notes": {
- "property1": "string",
- "property2": "string"
}
}
], - "items": [
- {
- "lineItemId": "1",
- "itemId": "100023",
- "sku": "SKU0023",
- "orderId": "317736896",
- "orderNumber": "507f1f77bcf86cd799439011",
- "channelId": "12",
- "segment": null,
- "vendorId": "56",
- "orderedQuantity": 2,
- "shippedQuantity": 2,
- "returnQuantity": 1,
- "returnAmount": 10,
- "fees": [
- {
- "type": "tax",
- "value": 34.56,
- "quantity": 12,
- "refundAmount": 10.4
}
], - "giftCard": [
- {
- "giftCardNum": "453456765",
- "amount": 50
}
], - "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
]
}
], - "scratchedItems": [
- {
- "lineItemId": "2",
- "itemId": "100043",
- "sku": "SKU00043",
- "quantity": 1,
- "reasonCode": "string",
- "subReasonCode": null,
- "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
], - "auditLogs": [
- {
- "auditType": "create",
- "employeeId": "62272e917b12209e68751d94",
- "auditTimestamp": "2022-05-12T09:24:54.804Z",
- "source": "POS",
- "note": "Note",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "updatedFields": [
- {
- "attributeName": "UOM",
- "attributeOriginalValue": "PK"
}
]
}
], - "attributes": {
- "property1": { },
- "property2": { }
}
}
{- "shipmentId": "627963716b19511e8a3a631b",
- "shipmentNum": "78974156816152",
- "invoiceId": "5674156816152",
- "allocationId": "112345678912340",
- "orderNumber": [
- "112345678912340",
- "112345678912340"
], - "poNumber": "1125",
- "vendorId": "56",
- "statusCode": "SHIPPED",
- "type": "STANDARD",
- "reshipmentReasonCode": "Order went missing",
- "shipDate": "2022-06-06T07:58:30.996Z",
- "locationNum": "132412",
- "locationType": "DC",
- "totalCartons": 2,
- "masterTrackingNumber": "TX112345678",
- "shipToId": "1",
- "shipToAddress": {
- "addressLine1": "888 Broadway",
- "addressLine2": "505 suite",
- "addressLine3": "string",
- "addressLine4": "string",
- "city": "New York",
- "state": "NY",
- "country": "USA",
- "postalCode": "1003",
- "type": "home",
- "latitude": 134.13413,
- "longitude": 757.0435
}, - "recipient": [
- {
- "name": {
- "first": "John",
- "middle": "string",
- "last": "Doe"
}, - "email": "support@abc.inc",
- "phone": {
- "number": 10612345678,
- "type": "MOBILE"
}
}
], - "cartons": [
- {
- "cartonNum": "1",
- "cartonType": "Package",
- "promisedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "estimatedShipDate": "2022-05-25T07:58:30.996Z",
- "estimatedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "shipmentMethod": "ground",
- "shipmentCarrier": "FEDEX",
- "weight": "500 gram",
- "trackingNumber": "1Z999AA10123456784",
- "trackingDetails": [
- {
- "event": "picked up",
- "eventId": "627963716b19511e8a3a631b",
- "timestamp": "2019-09-30T07:58:30.996Z",
- "shipmentCarrier": "FEDEX",
- "location": "Reno, NV",
- "notes": {
- "property1": "string",
- "property2": "string"
}
}
], - "items": [
- {
- "shipmentLineItemId": "607f1f77bcf86cd799439011",
- "orderId": "317736896",
- "orderNumber": "507f1f77bcf86cd799439011",
- "lineItemId": "1",
- "itemId": "100023",
- "sku": "SKU0023",
- "channelId": "12",
- "segment": null,
- "vendorId": "56",
- "orderedQuantity": 2,
- "shippedQuantity": 2,
- "returnQuantity": 1,
- "returnAmount": 10,
- "fees": [
- {
- "type": "tax",
- "value": 34.56,
- "quantity": 12,
- "refundAmount": 10.4
}
], - "giftCard": [
- {
- "giftCardNum": "453456765",
- "amount": 50,
- "giftCardStatus": "ACTIVE",
- "giftCardActiveRequestDate": "2022-05-26T07:58:30.996Z",
- "giftCardActiveDate": "2022-06-26T07:58:30.996Z"
}
], - "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
]
}
], - "scratchedItems": [
- {
- "orderId": "507f1f77bcf86cd799439012",
- "lineItemId": "2",
- "itemId": "100043",
- "sku": "SKU00043",
- "quantity": 1,
- "reasonCode": "string",
- "subReasonCode": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
], - "createdAt": "2022-06-06T07:58:30.996Z",
- "updatedAt": "2022-06-06T07:58:30.996Z",
- "auditLogs": [
- {
- "auditType": "create",
- "employeeId": "62272e917b12209e68751d94",
- "auditTimestamp": "2022-05-12T09:24:54.804Z",
- "source": "POS",
- "note": "Note",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "updatedFields": [
- {
- "attributeName": "UOM",
- "attributeOriginalValue": "PK"
}
]
}
], - "attributes": {
- "property1": { },
- "property2": { }
}
}
Gets shipment details by shipment ID
Ok
Bad Request
Object Not Found!
Internal Server Error
{- "shipmentId": "627963716b19511e8a3a631b",
- "shipmentNum": "78974156816152",
- "invoiceId": "5674156816152",
- "allocationId": "112345678912340",
- "orderNumber": [
- "112345678912340",
- "112345678912340"
], - "poNumber": "1125",
- "vendorId": "56",
- "statusCode": "SHIPPED",
- "type": "STANDARD",
- "reshipmentReasonCode": "Order went missing",
- "shipDate": "2022-06-06T07:58:30.996Z",
- "locationNum": "132412",
- "locationType": "DC",
- "totalCartons": 2,
- "masterTrackingNumber": "TX112345678",
- "shipToId": "1",
- "shipToAddress": {
- "addressLine1": "888 Broadway",
- "addressLine2": "505 suite",
- "addressLine3": "string",
- "addressLine4": "string",
- "city": "New York",
- "state": "NY",
- "country": "USA",
- "postalCode": "1003",
- "type": "home",
- "latitude": 134.13413,
- "longitude": 757.0435
}, - "recipient": [
- {
- "name": {
- "first": "John",
- "middle": "string",
- "last": "Doe"
}, - "email": "support@abc.inc",
- "phone": {
- "number": 10612345678,
- "type": "MOBILE"
}
}
], - "cartons": [
- {
- "cartonNum": "1",
- "cartonType": "Package",
- "promisedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "estimatedShipDate": "2022-05-25T07:58:30.996Z",
- "estimatedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "shipmentMethod": "ground",
- "shipmentCarrier": "FEDEX",
- "weight": "500 gram",
- "trackingNumber": "1Z999AA10123456784",
- "trackingDetails": [
- {
- "event": "picked up",
- "eventId": "627963716b19511e8a3a631b",
- "timestamp": "2019-09-30T07:58:30.996Z",
- "shipmentCarrier": "FEDEX",
- "location": "Reno, NV",
- "notes": {
- "property1": "string",
- "property2": "string"
}
}
], - "items": [
- {
- "shipmentLineItemId": "607f1f77bcf86cd799439011",
- "orderId": "317736896",
- "orderNumber": "507f1f77bcf86cd799439011",
- "lineItemId": "1",
- "itemId": "100023",
- "sku": "SKU0023",
- "channelId": "12",
- "segment": null,
- "vendorId": "56",
- "orderedQuantity": 2,
- "shippedQuantity": 2,
- "returnQuantity": 1,
- "returnAmount": 10,
- "fees": [
- {
- "type": "tax",
- "value": 34.56,
- "quantity": 12,
- "refundAmount": 10.4
}
], - "giftCard": [
- {
- "giftCardNum": "453456765",
- "amount": 50,
- "giftCardStatus": "ACTIVE",
- "giftCardActiveRequestDate": "2022-05-26T07:58:30.996Z",
- "giftCardActiveDate": "2022-06-26T07:58:30.996Z"
}
], - "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
]
}
], - "scratchedItems": [
- {
- "orderId": "507f1f77bcf86cd799439012",
- "lineItemId": "2",
- "itemId": "100043",
- "sku": "SKU00043",
- "quantity": 1,
- "reasonCode": "string",
- "subReasonCode": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
], - "createdAt": "2022-06-06T07:58:30.996Z",
- "updatedAt": "2022-06-06T07:58:30.996Z",
- "auditLogs": [
- {
- "auditType": "create",
- "employeeId": "62272e917b12209e68751d94",
- "auditTimestamp": "2022-05-12T09:24:54.804Z",
- "source": "POS",
- "note": "Note",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "updatedFields": [
- {
- "attributeName": "UOM",
- "attributeOriginalValue": "PK"
}
]
}
], - "attributes": {
- "property1": { },
- "property2": { }
}
}
Updates shipment details by shipment ID
required | object (XSiteContext) Represents single or multi-tenancy |
Ok
Bad Request
Object Not Found!
Internal Server Error
{- "shipmentId": "627963716b19511e8a3a631b",
- "shipmentNum": "78974156816152",
- "invoiceId": "5674156816152",
- "allocationId": "112345678912340",
- "orderNumber": [
- "112345678912340",
- "112345678912340"
], - "poNumber": "1125",
- "vendorId": "56",
- "statusCode": "SHIPPED",
- "type": "STANDARD",
- "reshipmentReasonCode": "Order went missing",
- "shipDate": "2022-06-06T07:58:30.996Z",
- "locationNum": "132412",
- "locationType": "DC",
- "totalCartons": 2,
- "masterTrackingNumber": "TX112345678",
- "shipToId": "1",
- "shipToAddress": {
- "addressLine1": "888 Broadway",
- "addressLine2": "505 suite",
- "addressLine3": "string",
- "addressLine4": "string",
- "city": "New York",
- "state": "NY",
- "country": "USA",
- "postalCode": "1003",
- "type": "home",
- "latitude": 134.13413,
- "longitude": 757.0435
}, - "recipient": [
- {
- "name": {
- "first": "John",
- "middle": "string",
- "last": "Doe"
}, - "email": "support@abc.inc",
- "phone": {
- "number": 10612345678,
- "type": "MOBILE"
}
}
], - "cartons": [
- {
- "cartonNum": "1",
- "cartonType": "Package",
- "promisedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "estimatedShipDate": "2022-05-25T07:58:30.996Z",
- "estimatedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "shipmentMethod": "ground",
- "shipmentCarrier": "FEDEX",
- "weight": "500 gram",
- "trackingNumber": "1Z999AA10123456784",
- "trackingDetails": [
- {
- "event": "picked up",
- "eventId": "627963716b19511e8a3a631b",
- "timestamp": "2019-09-30T07:58:30.996Z",
- "shipmentCarrier": "FEDEX",
- "location": "Reno, NV",
- "notes": {
- "property1": "string",
- "property2": "string"
}
}
], - "items": [
- {
- "shipmentLineItemId": "607f1f77bcf86cd799439011",
- "orderId": "317736896",
- "orderNumber": "507f1f77bcf86cd799439011",
- "lineItemId": "1",
- "itemId": "100023",
- "sku": "SKU0023",
- "channelId": "12",
- "segment": null,
- "vendorId": "56",
- "orderedQuantity": 2,
- "shippedQuantity": 2,
- "returnQuantity": 1,
- "returnAmount": 10,
- "fees": [
- {
- "type": "tax",
- "value": 34.56,
- "quantity": 12,
- "refundAmount": 10.4
}
], - "giftCard": [
- {
- "giftCardNum": "453456765",
- "amount": 50,
- "giftCardStatus": "ACTIVE",
- "giftCardActiveRequestDate": "2022-05-26T07:58:30.996Z",
- "giftCardActiveDate": "2022-06-26T07:58:30.996Z"
}
], - "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
]
}
], - "scratchedItems": [
- {
- "orderId": "507f1f77bcf86cd799439012",
- "lineItemId": "2",
- "itemId": "100043",
- "sku": "SKU00043",
- "quantity": 1,
- "reasonCode": "string",
- "subReasonCode": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
], - "createdAt": "2022-06-06T07:58:30.996Z",
- "updatedAt": "2022-06-06T07:58:30.996Z",
- "auditLogs": [
- {
- "auditType": "create",
- "employeeId": "62272e917b12209e68751d94",
- "auditTimestamp": "2022-05-12T09:24:54.804Z",
- "source": "POS",
- "note": "Note",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "updatedFields": [
- {
- "attributeName": "UOM",
- "attributeOriginalValue": "PK"
}
]
}
], - "attributes": {
- "property1": { },
- "property2": { }
}
}
{- "shipmentId": "627963716b19511e8a3a631b",
- "shipmentNum": "78974156816152",
- "invoiceId": "5674156816152",
- "allocationId": "112345678912340",
- "orderNumber": [
- "112345678912340",
- "112345678912340"
], - "poNumber": "1125",
- "vendorId": "56",
- "statusCode": "SHIPPED",
- "type": "STANDARD",
- "reshipmentReasonCode": "Order went missing",
- "shipDate": "2022-06-06T07:58:30.996Z",
- "locationNum": "132412",
- "locationType": "DC",
- "totalCartons": 2,
- "masterTrackingNumber": "TX112345678",
- "shipToId": "1",
- "shipToAddress": {
- "addressLine1": "888 Broadway",
- "addressLine2": "505 suite",
- "addressLine3": "string",
- "addressLine4": "string",
- "city": "New York",
- "state": "NY",
- "country": "USA",
- "postalCode": "1003",
- "type": "home",
- "latitude": 134.13413,
- "longitude": 757.0435
}, - "recipient": [
- {
- "name": {
- "first": "John",
- "middle": "string",
- "last": "Doe"
}, - "email": "support@abc.inc",
- "phone": {
- "number": 10612345678,
- "type": "MOBILE"
}
}
], - "cartons": [
- {
- "cartonNum": "1",
- "cartonType": "Package",
- "promisedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "estimatedShipDate": "2022-05-25T07:58:30.996Z",
- "estimatedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "shipmentMethod": "ground",
- "shipmentCarrier": "FEDEX",
- "weight": "500 gram",
- "trackingNumber": "1Z999AA10123456784",
- "trackingDetails": [
- {
- "event": "picked up",
- "eventId": "627963716b19511e8a3a631b",
- "timestamp": "2019-09-30T07:58:30.996Z",
- "shipmentCarrier": "FEDEX",
- "location": "Reno, NV",
- "notes": {
- "property1": "string",
- "property2": "string"
}
}
], - "items": [
- {
- "shipmentLineItemId": "607f1f77bcf86cd799439011",
- "orderId": "317736896",
- "orderNumber": "507f1f77bcf86cd799439011",
- "lineItemId": "1",
- "itemId": "100023",
- "sku": "SKU0023",
- "channelId": "12",
- "segment": null,
- "vendorId": "56",
- "orderedQuantity": 2,
- "shippedQuantity": 2,
- "returnQuantity": 1,
- "returnAmount": 10,
- "fees": [
- {
- "type": "tax",
- "value": 34.56,
- "quantity": 12,
- "refundAmount": 10.4
}
], - "giftCard": [
- {
- "giftCardNum": "453456765",
- "amount": 50,
- "giftCardStatus": "ACTIVE",
- "giftCardActiveRequestDate": "2022-05-26T07:58:30.996Z",
- "giftCardActiveDate": "2022-06-26T07:58:30.996Z"
}
], - "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
]
}
], - "scratchedItems": [
- {
- "orderId": "507f1f77bcf86cd799439012",
- "lineItemId": "2",
- "itemId": "100043",
- "sku": "SKU00043",
- "quantity": 1,
- "reasonCode": "string",
- "subReasonCode": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
], - "createdAt": "2022-06-06T07:58:30.996Z",
- "updatedAt": "2022-06-06T07:58:30.996Z",
- "auditLogs": [
- {
- "auditType": "create",
- "employeeId": "62272e917b12209e68751d94",
- "auditTimestamp": "2022-05-12T09:24:54.804Z",
- "source": "POS",
- "note": "Note",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "updatedFields": [
- {
- "attributeName": "UOM",
- "attributeOriginalValue": "PK"
}
]
}
], - "attributes": {
- "property1": { },
- "property2": { }
}
}
Updates details of package tracking.
required | object (XSiteContext) Represents single or multi-tenancy |
Ok
Bad Request
Object Not Found!
Internal Server Error
{- "event": "picked up",
- "eventId": "627963716b19511e8a3a631b",
- "timestamp": "2019-09-30T07:58:30.996Z",
- "shipmentCarrier": "FEDEX",
- "location": "Reno, NV",
- "notes": {
- "property1": "string",
- "property2": "string"
}
}
[- {
- "shipmentId": "627963716b19511e8a3a631b",
- "shipmentNum": "78974156816152",
- "invoiceId": "5674156816152",
- "allocationId": "112345678912340",
- "orderNumber": [
- "112345678912340",
- "112345678912340"
], - "poNumber": "1125",
- "vendorId": "56",
- "statusCode": "SHIPPED",
- "type": "STANDARD",
- "reshipmentReasonCode": "Order went missing",
- "shipDate": "2022-06-06T07:58:30.996Z",
- "locationNum": "132412",
- "locationType": "DC",
- "totalCartons": 2,
- "masterTrackingNumber": "TX112345678",
- "shipToId": "1",
- "shipToAddress": {
- "addressLine1": "888 Broadway",
- "addressLine2": "505 suite",
- "addressLine3": "string",
- "addressLine4": "string",
- "city": "New York",
- "state": "NY",
- "country": "USA",
- "postalCode": "1003",
- "type": "home",
- "latitude": 134.13413,
- "longitude": 757.0435
}, - "recipient": [
- {
- "name": {
- "first": "John",
- "middle": "string",
- "last": "Doe"
}, - "email": "support@abc.inc",
- "phone": {
- "number": 10612345678,
- "type": "MOBILE"
}
}
], - "cartons": [
- {
- "cartonNum": "1",
- "cartonType": "Package",
- "promisedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "estimatedShipDate": "2022-05-25T07:58:30.996Z",
- "estimatedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "shipmentMethod": "ground",
- "shipmentCarrier": "FEDEX",
- "weight": "500 gram",
- "trackingNumber": "1Z999AA10123456784",
- "trackingDetails": [
- {
- "event": "picked up",
- "eventId": "627963716b19511e8a3a631b",
- "timestamp": "2019-09-30T07:58:30.996Z",
- "shipmentCarrier": "FEDEX",
- "location": "Reno, NV",
- "notes": {
- "property1": "string",
- "property2": "string"
}
}
], - "items": [
- {
- "shipmentLineItemId": "607f1f77bcf86cd799439011",
- "orderId": "317736896",
- "orderNumber": "507f1f77bcf86cd799439011",
- "lineItemId": "1",
- "itemId": "100023",
- "sku": "SKU0023",
- "channelId": "12",
- "segment": null,
- "vendorId": "56",
- "orderedQuantity": 2,
- "shippedQuantity": 2,
- "returnQuantity": 1,
- "returnAmount": 10,
- "fees": [
- {
- "type": null,
- "value": null,
- "quantity": null,
- "refundAmount": null
}
], - "giftCard": [
- {
- "giftCardNum": null,
- "amount": null,
- "giftCardStatus": null,
- "giftCardActiveRequestDate": null,
- "giftCardActiveDate": null
}
], - "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
]
}
], - "scratchedItems": [
- {
- "orderId": "507f1f77bcf86cd799439012",
- "lineItemId": "2",
- "itemId": "100043",
- "sku": "SKU00043",
- "quantity": 1,
- "reasonCode": "string",
- "subReasonCode": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
], - "createdAt": "2022-06-06T07:58:30.996Z",
- "updatedAt": "2022-06-06T07:58:30.996Z",
- "auditLogs": [
- {
- "auditType": "create",
- "employeeId": "62272e917b12209e68751d94",
- "auditTimestamp": "2022-05-12T09:24:54.804Z",
- "source": "POS",
- "note": "Note",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "updatedFields": [
- {
- "attributeName": "UOM",
- "attributeOriginalValue": "PK"
}
]
}
], - "attributes": {
- "property1": { },
- "property2": { }
}
}
]
Gets shipment details based on filter criteria
required | object (XSiteContext) Represents single or multi-tenancy |
Ok
Bad Request
Object Not Found!
Internal Server Error
{- "limit": 10,
- "offset": 0,
- "sortBy": "updatedAt",
- "sortDirection": "desc",
- "filters": {
- "retail": {
- "locationNum": 12
}, - "orderSubTotal": {
- "gte": 1300,
- "lt": 1400
}, - "orderNumber": "order-*Z",
- "statusCode": [
- "ORDER_CREATED"
], - "createdAt": {
- "lt": "2022-09-11T23:12:00.123Z"
}, - "shipInfo": {
- "shipToId": [
- "23434",
- "23436"
]
}
}
}
{- "count": 100,
- "limit": 10,
- "offset": 1
}
Activates gift cards (or coupons) added by shoppers during shipment creation.
Ok
{- "shipmentId": "78974156816152",
- "items": [
- {
- "itemId": "100023",
- "sku": "SKU0023",
- "channelId": "12",
- "orderId": "string",
- "orderNumber": "507f1f77bcf86cd799439011",
- "lineItemId": "1",
- "giftCard": [
- {
- "giftCardNum": "453456765",
- "giftCardStatus": "ACTIVE"
}
]
}
]
}
{- "shipmentId": "627963716b19511e8a3a631b",
- "shipmentNum": "78974156816152",
- "invoiceId": "5674156816152",
- "allocationId": "112345678912340",
- "orderNumber": [
- "112345678912340",
- "112345678912340"
], - "poNumber": "1125",
- "vendorId": "56",
- "statusCode": "SHIPPED",
- "type": "STANDARD",
- "reshipmentReasonCode": "Order went missing",
- "shipDate": "2022-06-06T07:58:30.996Z",
- "locationNum": "132412",
- "locationType": "DC",
- "totalCartons": 2,
- "masterTrackingNumber": "TX112345678",
- "shipToId": "1",
- "shipToAddress": {
- "addressLine1": "888 Broadway",
- "addressLine2": "505 suite",
- "addressLine3": "string",
- "addressLine4": "string",
- "city": "New York",
- "state": "NY",
- "country": "USA",
- "postalCode": "1003",
- "type": "home",
- "latitude": 134.13413,
- "longitude": 757.0435
}, - "recipient": [
- {
- "name": {
- "first": "John",
- "middle": "string",
- "last": "Doe"
}, - "email": "support@abc.inc",
- "phone": {
- "number": 10612345678,
- "type": "MOBILE"
}
}
], - "cartons": [
- {
- "cartonNum": "1",
- "cartonType": "Package",
- "promisedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "estimatedShipDate": "2022-05-25T07:58:30.996Z",
- "estimatedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "shipmentMethod": "ground",
- "shipmentCarrier": "FEDEX",
- "weight": "500 gram",
- "trackingNumber": "1Z999AA10123456784",
- "trackingDetails": [
- {
- "event": "picked up",
- "eventId": "627963716b19511e8a3a631b",
- "timestamp": "2019-09-30T07:58:30.996Z",
- "shipmentCarrier": "FEDEX",
- "location": "Reno, NV",
- "notes": {
- "property1": "string",
- "property2": "string"
}
}
], - "items": [
- {
- "shipmentLineItemId": "607f1f77bcf86cd799439011",
- "orderId": "317736896",
- "orderNumber": "507f1f77bcf86cd799439011",
- "lineItemId": "1",
- "itemId": "100023",
- "sku": "SKU0023",
- "channelId": "12",
- "segment": null,
- "vendorId": "56",
- "orderedQuantity": 2,
- "shippedQuantity": 2,
- "returnQuantity": 1,
- "returnAmount": 10,
- "fees": [
- {
- "type": "tax",
- "value": 34.56,
- "quantity": 12,
- "refundAmount": 10.4
}
], - "giftCard": [
- {
- "giftCardNum": "453456765",
- "amount": 50,
- "giftCardStatus": "ACTIVE",
- "giftCardActiveRequestDate": "2022-05-26T07:58:30.996Z",
- "giftCardActiveDate": "2022-06-26T07:58:30.996Z"
}
], - "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
]
}
], - "scratchedItems": [
- {
- "orderId": "507f1f77bcf86cd799439012",
- "lineItemId": "2",
- "itemId": "100043",
- "sku": "SKU00043",
- "quantity": 1,
- "reasonCode": "string",
- "subReasonCode": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
], - "createdAt": "2022-06-06T07:58:30.996Z",
- "updatedAt": "2022-06-06T07:58:30.996Z",
- "auditLogs": [
- {
- "auditType": "create",
- "employeeId": "62272e917b12209e68751d94",
- "auditTimestamp": "2022-05-12T09:24:54.804Z",
- "source": "POS",
- "note": "Note",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "updatedFields": [
- {
- "attributeName": "UOM",
- "attributeOriginalValue": "PK"
}
]
}
], - "attributes": {
- "property1": { },
- "property2": { }
}
}
Acknowledges gift card activation is successful
Ok
Bad Request
Object Not Found!
Internal Server Error
{- "shipmentId": "78974156816152",
- "items": [
- {
- "itemId": "100023",
- "sku": "SKU0023",
- "channelId": "12",
- "orderId": "string",
- "orderNumber": "507f1f77bcf86cd799439011",
- "lineItemId": "1",
- "giftCard": [
- {
- "giftCardNum": "453456765",
- "giftCardStatus": "ACTIVE"
}
]
}
]
}
{- "shipmentId": "627963716b19511e8a3a631b",
- "shipmentNum": "78974156816152",
- "invoiceId": "5674156816152",
- "allocationId": "112345678912340",
- "orderNumber": [
- "112345678912340",
- "112345678912340"
], - "poNumber": "1125",
- "vendorId": "56",
- "statusCode": "SHIPPED",
- "type": "STANDARD",
- "reshipmentReasonCode": "Order went missing",
- "shipDate": "2022-06-06T07:58:30.996Z",
- "locationNum": "132412",
- "locationType": "DC",
- "totalCartons": 2,
- "masterTrackingNumber": "TX112345678",
- "shipToId": "1",
- "shipToAddress": {
- "addressLine1": "888 Broadway",
- "addressLine2": "505 suite",
- "addressLine3": "string",
- "addressLine4": "string",
- "city": "New York",
- "state": "NY",
- "country": "USA",
- "postalCode": "1003",
- "type": "home",
- "latitude": 134.13413,
- "longitude": 757.0435
}, - "recipient": [
- {
- "name": {
- "first": "John",
- "middle": "string",
- "last": "Doe"
}, - "email": "support@abc.inc",
- "phone": {
- "number": 10612345678,
- "type": "MOBILE"
}
}
], - "cartons": [
- {
- "cartonNum": "1",
- "cartonType": "Package",
- "promisedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "estimatedShipDate": "2022-05-25T07:58:30.996Z",
- "estimatedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "shipmentMethod": "ground",
- "shipmentCarrier": "FEDEX",
- "weight": "500 gram",
- "trackingNumber": "1Z999AA10123456784",
- "trackingDetails": [
- {
- "event": "picked up",
- "eventId": "627963716b19511e8a3a631b",
- "timestamp": "2019-09-30T07:58:30.996Z",
- "shipmentCarrier": "FEDEX",
- "location": "Reno, NV",
- "notes": {
- "property1": "string",
- "property2": "string"
}
}
], - "items": [
- {
- "shipmentLineItemId": "607f1f77bcf86cd799439011",
- "orderId": "317736896",
- "orderNumber": "507f1f77bcf86cd799439011",
- "lineItemId": "1",
- "itemId": "100023",
- "sku": "SKU0023",
- "channelId": "12",
- "segment": null,
- "vendorId": "56",
- "orderedQuantity": 2,
- "shippedQuantity": 2,
- "returnQuantity": 1,
- "returnAmount": 10,
- "fees": [
- {
- "type": "tax",
- "value": 34.56,
- "quantity": 12,
- "refundAmount": 10.4
}
], - "giftCard": [
- {
- "giftCardNum": "453456765",
- "amount": 50,
- "giftCardStatus": "ACTIVE",
- "giftCardActiveRequestDate": "2022-05-26T07:58:30.996Z",
- "giftCardActiveDate": "2022-06-26T07:58:30.996Z"
}
], - "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
]
}
], - "scratchedItems": [
- {
- "orderId": "507f1f77bcf86cd799439012",
- "lineItemId": "2",
- "itemId": "100043",
- "sku": "SKU00043",
- "quantity": 1,
- "reasonCode": "string",
- "subReasonCode": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
], - "createdAt": "2022-06-06T07:58:30.996Z",
- "updatedAt": "2022-06-06T07:58:30.996Z",
- "auditLogs": [
- {
- "auditType": "create",
- "employeeId": "62272e917b12209e68751d94",
- "auditTimestamp": "2022-05-12T09:24:54.804Z",
- "source": "POS",
- "note": "Note",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "updatedFields": [
- {
- "attributeName": "UOM",
- "attributeOriginalValue": "PK"
}
]
}
], - "attributes": {
- "property1": { },
- "property2": { }
}
}
Acknowledges the tracking is created.
Ok
Bad Request
Object Not Found!
Internal Server Error
{- "shipmentId": "78974156816152",
- "attributes": { }
}
{- "shipmentId": "627963716b19511e8a3a631b",
- "shipmentNum": "78974156816152",
- "invoiceId": "5674156816152",
- "allocationId": "112345678912340",
- "orderNumber": [
- "112345678912340",
- "112345678912340"
], - "poNumber": "1125",
- "vendorId": "56",
- "statusCode": "SHIPPED",
- "type": "STANDARD",
- "reshipmentReasonCode": "Order went missing",
- "shipDate": "2022-06-06T07:58:30.996Z",
- "locationNum": "132412",
- "locationType": "DC",
- "totalCartons": 2,
- "masterTrackingNumber": "TX112345678",
- "shipToId": "1",
- "shipToAddress": {
- "addressLine1": "888 Broadway",
- "addressLine2": "505 suite",
- "addressLine3": "string",
- "addressLine4": "string",
- "city": "New York",
- "state": "NY",
- "country": "USA",
- "postalCode": "1003",
- "type": "home",
- "latitude": 134.13413,
- "longitude": 757.0435
}, - "recipient": [
- {
- "name": {
- "first": "John",
- "middle": "string",
- "last": "Doe"
}, - "email": "support@abc.inc",
- "phone": {
- "number": 10612345678,
- "type": "MOBILE"
}
}
], - "cartons": [
- {
- "cartonNum": "1",
- "cartonType": "Package",
- "promisedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "estimatedShipDate": "2022-05-25T07:58:30.996Z",
- "estimatedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "shipmentMethod": "ground",
- "shipmentCarrier": "FEDEX",
- "weight": "500 gram",
- "trackingNumber": "1Z999AA10123456784",
- "trackingDetails": [
- {
- "event": "picked up",
- "eventId": "627963716b19511e8a3a631b",
- "timestamp": "2019-09-30T07:58:30.996Z",
- "shipmentCarrier": "FEDEX",
- "location": "Reno, NV",
- "notes": {
- "property1": "string",
- "property2": "string"
}
}
], - "items": [
- {
- "shipmentLineItemId": "607f1f77bcf86cd799439011",
- "orderId": "317736896",
- "orderNumber": "507f1f77bcf86cd799439011",
- "lineItemId": "1",
- "itemId": "100023",
- "sku": "SKU0023",
- "channelId": "12",
- "segment": null,
- "vendorId": "56",
- "orderedQuantity": 2,
- "shippedQuantity": 2,
- "returnQuantity": 1,
- "returnAmount": 10,
- "fees": [
- {
- "type": "tax",
- "value": 34.56,
- "quantity": 12,
- "refundAmount": 10.4
}
], - "giftCard": [
- {
- "giftCardNum": "453456765",
- "amount": 50,
- "giftCardStatus": "ACTIVE",
- "giftCardActiveRequestDate": "2022-05-26T07:58:30.996Z",
- "giftCardActiveDate": "2022-06-26T07:58:30.996Z"
}
], - "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
]
}
], - "scratchedItems": [
- {
- "orderId": "507f1f77bcf86cd799439012",
- "lineItemId": "2",
- "itemId": "100043",
- "sku": "SKU00043",
- "quantity": 1,
- "reasonCode": "string",
- "subReasonCode": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
], - "createdAt": "2022-06-06T07:58:30.996Z",
- "updatedAt": "2022-06-06T07:58:30.996Z",
- "auditLogs": [
- {
- "auditType": "create",
- "employeeId": "62272e917b12209e68751d94",
- "auditTimestamp": "2022-05-12T09:24:54.804Z",
- "source": "POS",
- "note": "Note",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "updatedFields": [
- {
- "attributeName": "UOM",
- "attributeOriginalValue": "PK"
}
]
}
], - "attributes": {
- "property1": { },
- "property2": { }
}
}
Creates reshipment when package goes missing before it is shipped
required | object (XSiteContext) Represents single or multi-tenancy |
Ok
Bad Request
Object Not Found!
Internal Server Error
{- "shipmentNum": "78974156816152",
- "allocationId": "112345678912340",
- "invoiceId": "5674156816152",
- "poNumber": "1125",
- "vendorId": "56",
- "statusCode": "SHIPMENT_CREATED",
- "type": "STANDARD",
- "reshipmentReasonCode": "Order went missing",
- "shipDate": "2022-06-06T07:58:30.996Z",
- "locationNum": "132412",
- "locationType": "DC",
- "totalCartons": 2,
- "masterTrackingNumber": "TX112345678",
- "shipToId": "1",
- "shipToAddress": {
- "addressLine1": "888 Broadway",
- "addressLine2": "505 suite",
- "addressLine3": "string",
- "addressLine4": "string",
- "city": "New York",
- "state": "NY",
- "country": "USA",
- "postalCode": "1003",
- "type": "home",
- "latitude": 134.13413,
- "longitude": 757.0435
}, - "recipient": [
- {
- "name": {
- "first": "John",
- "middle": "string",
- "last": "Doe"
}, - "email": "support@abc.inc",
- "phone": {
- "number": 10612345678,
- "type": "MOBILE"
}
}
], - "cartons": [
- {
- "cartonNum": "1",
- "cartonType": "Package",
- "promisedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "estimatedShipDate": "2022-05-25T07:58:30.996Z",
- "estimatedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "shipmentMethod": "ground",
- "shipmentCarrier": "FEDEX",
- "weight": "500 gram",
- "trackingNumber": "1Z999AA10123456784",
- "trackingDetails": [
- {
- "event": "picked up",
- "eventId": "627963716b19511e8a3a631b",
- "timestamp": "2019-09-30T07:58:30.996Z",
- "shipmentCarrier": "FEDEX",
- "location": "Reno, NV",
- "notes": {
- "property1": "string",
- "property2": "string"
}
}
], - "items": [
- {
- "lineItemId": "1",
- "itemId": "100023",
- "sku": "SKU0023",
- "orderId": "317736896",
- "orderNumber": "507f1f77bcf86cd799439011",
- "channelId": "12",
- "segment": null,
- "vendorId": "56",
- "orderedQuantity": 2,
- "shippedQuantity": 2,
- "returnQuantity": 1,
- "returnAmount": 10,
- "fees": [
- {
- "type": "tax",
- "value": 34.56,
- "quantity": 12,
- "refundAmount": 10.4
}
], - "giftCard": [
- {
- "giftCardNum": "453456765",
- "amount": 50
}
], - "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
]
}
], - "scratchedItems": [
- {
- "lineItemId": "2",
- "itemId": "100043",
- "sku": "SKU00043",
- "quantity": 1,
- "reasonCode": "string",
- "subReasonCode": null,
- "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
], - "auditLogs": [
- {
- "auditType": "create",
- "employeeId": "62272e917b12209e68751d94",
- "auditTimestamp": "2022-05-12T09:24:54.804Z",
- "source": "POS",
- "note": "Note",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "updatedFields": [
- {
- "attributeName": "UOM",
- "attributeOriginalValue": "PK"
}
]
}
], - "attributes": {
- "property1": { },
- "property2": { }
}
}
{- "shipmentId": "627963716b19511e8a3a631b",
- "shipmentNum": "78974156816152",
- "invoiceId": "5674156816152",
- "allocationId": "112345678912340",
- "orderNumber": [
- "112345678912340",
- "112345678912340"
], - "poNumber": "1125",
- "vendorId": "56",
- "statusCode": "SHIPPED",
- "type": "STANDARD",
- "reshipmentReasonCode": "Order went missing",
- "shipDate": "2022-06-06T07:58:30.996Z",
- "locationNum": "132412",
- "locationType": "DC",
- "totalCartons": 2,
- "masterTrackingNumber": "TX112345678",
- "shipToId": "1",
- "shipToAddress": {
- "addressLine1": "888 Broadway",
- "addressLine2": "505 suite",
- "addressLine3": "string",
- "addressLine4": "string",
- "city": "New York",
- "state": "NY",
- "country": "USA",
- "postalCode": "1003",
- "type": "home",
- "latitude": 134.13413,
- "longitude": 757.0435
}, - "recipient": [
- {
- "name": {
- "first": "John",
- "middle": "string",
- "last": "Doe"
}, - "email": "support@abc.inc",
- "phone": {
- "number": 10612345678,
- "type": "MOBILE"
}
}
], - "cartons": [
- {
- "cartonNum": "1",
- "cartonType": "Package",
- "promisedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "estimatedShipDate": "2022-05-25T07:58:30.996Z",
- "estimatedDeliveryDate": "2022-05-26T07:58:30.996Z",
- "shipmentMethod": "ground",
- "shipmentCarrier": "FEDEX",
- "weight": "500 gram",
- "trackingNumber": "1Z999AA10123456784",
- "trackingDetails": [
- {
- "event": "picked up",
- "eventId": "627963716b19511e8a3a631b",
- "timestamp": "2019-09-30T07:58:30.996Z",
- "shipmentCarrier": "FEDEX",
- "location": "Reno, NV",
- "notes": {
- "property1": "string",
- "property2": "string"
}
}
], - "items": [
- {
- "shipmentLineItemId": "607f1f77bcf86cd799439011",
- "orderId": "317736896",
- "orderNumber": "507f1f77bcf86cd799439011",
- "lineItemId": "1",
- "itemId": "100023",
- "sku": "SKU0023",
- "channelId": "12",
- "segment": null,
- "vendorId": "56",
- "orderedQuantity": 2,
- "shippedQuantity": 2,
- "returnQuantity": 1,
- "returnAmount": 10,
- "fees": [
- {
- "type": "tax",
- "value": 34.56,
- "quantity": 12,
- "refundAmount": 10.4
}
], - "giftCard": [
- {
- "giftCardNum": "453456765",
- "amount": 50,
- "giftCardStatus": "ACTIVE",
- "giftCardActiveRequestDate": "2022-05-26T07:58:30.996Z",
- "giftCardActiveDate": "2022-06-26T07:58:30.996Z"
}
], - "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
]
}
], - "scratchedItems": [
- {
- "orderId": "507f1f77bcf86cd799439012",
- "lineItemId": "2",
- "itemId": "100043",
- "sku": "SKU00043",
- "quantity": 1,
- "reasonCode": "string",
- "subReasonCode": "string",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "uom": null
}
], - "createdAt": "2022-06-06T07:58:30.996Z",
- "updatedAt": "2022-06-06T07:58:30.996Z",
- "auditLogs": [
- {
- "auditType": "create",
- "employeeId": "62272e917b12209e68751d94",
- "auditTimestamp": "2022-05-12T09:24:54.804Z",
- "source": "POS",
- "note": "Note",
- "attributes": {
- "property1": { },
- "property2": { }
}, - "updatedFields": [
- {
- "attributeName": "UOM",
- "attributeOriginalValue": "PK"
}
]
}
], - "attributes": {
- "property1": { },
- "property2": { }
}
}