POST
/
shipment
/
gift-card
/
activation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Body

application/json

Details of gift card associated with shipment

items
object[]
shipmentId
string

Shipment ID

Response

200 - application/json

Shipment details

allocationId
string

Allocation ID for an order, generated from allocation service

attributes
object

Attribute details for additional information

auditLogs
object[]

Details of audit logs

cartons
object[]
createdAt
string

Time of shipment creation

invoiceId
string

fabric-generated Invoice ID

locationNum
string

location number from location service to get exact address.

locationType
string

Location type based on location service such as store, distribution center (DC)

masterTrackingNumber
string

Main tracking number, to track fulfillment of all the orders

orderNumber
string[]

Order number. It's usually generated by another system, such as an external checkout system.

poNumber
string

Purchase order number (generally, vendor-generated)

recipient
object[]
reshipmentReasonCode
string

Reason code for reshipment

scratchedItems
object[]

details of scratched items

shipDate
string

Time of shipping

shipmentId
string

24-character fabric-generated unique ID of shipment

shipmentNum
string

Shipment number (external)

shipToAddress
object

Details of delivery address

shipToId
string

Ship-to ID refers to item's delivery address

statusCode
enum<string>

Shipment status code

Available options:
SHIPMENT_CREATED,
SHIPMENT_CANCELLED,
PICKUP_CREATED,
PICKUP_COMPLETED,
SHIPMENT_RETURN_PENDING,
SHIPMENT_RETURN_RECEIVED,
SHIPMENT_PARTIALLY_DELIVERED,
SHIPMENT_DELIVERED
totalCartons
integer

Total number of cartons

type
enum<string>

shipment type

Available options:
STANDARD,
RESHIP,
RETURN,
SCRATCH,
PICKUP
updatedAt
string

Time of last update

vendorId
string

Vendor ID