Inventory
Models
Item Model
The item model represents a unique item for which you would like to track the quantity.
object "item"
The description of the model.
attributes array
A list of enumerated strings to give more context to special items. For example: alcohol
, marijuana
, pharma
, dry_ice
, lithium
color string
Any value can be added here
created_at integer
Time in epoch seconds when this resource was created
description string
The details about the item
gtin string
The global identifier for the item, which is consistent across vendors for this item
harmonized_code string
The harmonized system code for the item. This is required if you will be shipping this item internationally.
id string
The unique ID given to this product. This will stay the same even if the SKU or GTIN values are updated.
images Array.<string>
A list of URLs of images that have been added for this item
levels Array.<InventoryLevel>
Information about inventory levels for this item across various locations and layouts
Show Details
metadata object
These are your metadata key value pairs added to the item
name string
The name of the item
length float
The length of the item in inches
width float
The width of the item in inches
height float
The height of the item in inches
weight float
The weight of the item in pounds (lbs)
packaged_length float
The length of the item in inches once packaged for shipping. For example, a mobile phone often ships in a box with some cables and reading materials inside. Packaged length would be the length of the box that the mobile phone is housed in.
packaged_width float
The width of the item in inches when placed in shipping packaging
packaged_height float
The height of the item in inches when placed in shipping packaging
packaged_weight float
The weight of the item in pounds (lbs) when placed in shipping packaging
origin_country string
The country that manufactured this item. This is required if shipping the item internationally
organization_id string
The unique identifier for the organization that owns this item. This will always be your organization ID
size string
The size of the item. This is used for display purposes on a product page. This is common when adding something like a "small" or "large" variation.
sku string
The SKU of the item added by you
total_verified integer
The total verified inventory count across all levels
total_damaged integer
The total damaged inventory count across all levels
total_manifested integer
The total inventory count that is on a manifest
total_reserved integer
The total inventory count that is reserved
total_stored integer
The total asset inventory marked as in_storage
total_operational integer
The total asset inventory marked as in_use
or on_loan
total_processing integer
The total asset inventory marked as in_pipeline
, in_transit
, in_repair
, or for_sale
total_decommissioned integer
The total asset inventory marked as donated
, lost
, stolen
, disposed
, out_of_service
, missing
, or sold
updated_at integer
Time in epoch seconds when this resource was updated
value string
The value of this each individual item in cents
is_asset boolean
Indicates whether the item is an asset.
Article Model
An article model is an item or asset inside of a manifest, fulfillment, or parcel
object "article"
The enum for this object
attributes Array.<"alcohol", "marijuana", "pharma", "dry_ice", "lithium">
Indicates certain aspects of the item that will impact shipping and handling
comment string
A free text field to add any comments about this item
damaged_qty integer
The count of damaged items being shipped in a fulfillment or parcel. When used for a manifest, it counts how many items were damaged.
verified_qty integer
The count of verified items being shipped in a fulfillment or parcel. When used for a manifest, it counts how many items were verified.
manifested_qty integer
This value can be updated by the end user for staging inventory, like in a common two-step pick & pack process for a fulfillment. For a manifest, this value is prefilled indicating how many items are expected in the manifest.
requested_qty integer
The count of items being requested in a fulfillment or parcel. When used for a manifest, it counts how many items were were requested.
picked_qty integer
The picked quantity of the item or asset.
packed_qty integer
The packed quantity of the item or asset.
gtin string
The Global Trade Item Number, typically found on barcodes
sku string
The unique identifier that is added by you for this item
harmonized_code string
The harmonized system code for the item. This is required if you will be shipping this item internationally
id string
The ID of the item to reference
serial_number string
The serial number of the Item, only applicable for asset items
image_url string
A thumbnail image for the inventory
image_urls string
Other images for the inventory
name string
The name of the item
origin_country string
The two character country code. ISO 3166-1 alpha-2
vendor string
The company that created the inventory
value integer
The value of the inventory
value_added_services Array.<"gift_wrapping", "personalized_note", "engraving", "embossing", "embroidery", "monogramming", "assembly", "installation", "protection">
Indicates any value added services requested for the inventory item
packaged_length float
The length in inches of the product packaging
packaged_width float
The width in inches of the product packaging
packaged_height float
The height in inches of the product packaging
packaged_weight float
The weight in pounds (lbs) of the product packaging
Inventory Model
An inventory model is an item or asset that is inside of a manifest, fulfillment, or parcel.
object "inventory"
The enum for this object
attributes Array.<"alcohol", "marijuana", "pharma", "dry_ice", "lithium">
Indicates certain aspects of the item that will impact shipping and handling
comment string
A free text field to add any comments about this item
damaged_qty integer
The count of damaged items being shipped in a fulfillment or parcel. When used for a manifest, it counts how many items were damaged.
verified_qty integer
The count of verified items being shipped in a fulfillment or parcel. When used for a manifest, it counts how many items were verified.
manifested_qty integer
This value can be updated by the end user for staging inventory, like in a common two-step pick & pack process for a fulfillment. For a manifest, this value is prefilled indicating how many items are expected in the manifest.
harmonized_code string
The Harmonized System Code. See more.
id string
The ID of the item to reference
gtin string
The Global Trade Item Number, typically found on barcodes
sku string
The unique identifier that is added by you for this item
serial_number string
A unique number given to an asset
image_url string
A thumbnail image for the inventory
name string
The name of the inventory item
origin_country string
The two character country code. ISO 3166-1 alpha-2
vendor string
The company that created the inventory
value integer
The value of each individual item in USD cents
packaged_length float
The length in inches of the product packaging
packaged_width float
The width in inches of the product packaging
packaged_height float
The height in inches of the product packaging
packaged_weight float
The weight in pounds (lbs) of the product packaging
Manifest Model
The manifest model represents a unique manifest containing the inventory that you would like to track.
object "manifest"
The description of the model.
created_at integer
Time in epoch seconds when this resource was created
estimated_delivery_at integer
Time in epoch seconds when the last package of the manifest is going to arrive. This date is derived from tracking numbers entered when creating the manifest.
id string
The unique ID given to this manifest prefixed with msft_
inventory Array.<Inventory>
The inventory that is included in the manifest
articles Array.<Article>
The articles that are included in the manifest
assets Array.<Asset>
The assets that are included in the manifest.
location_id string
The ID of the location to which this manifest is being delivered
metadata object
These are your metadata key value pairs added to the manifest
order_number string
The order number that either you provided to the manifest or that PackageX added automatically
organization_id string
The ID of the organization that owns this manifest. In almost all cases, this will be your organization ID.
tracking_numbers Array.<string>
A list of all tracking numbers for this manifest. When added, trackers will be created for each tracking number which will then update the estimated_delivery_at
property.
status string
The status of the manifest
Show Details
updated_at integer
Time in epoch seconds when this item was last updated
Fulfillment Model
The fulfillment model represents a unique fulfillment containing the inventory that was sent to the recipient.
object "fulfillment"
The description of the model.
cancel_reason string
If the fulfillment gets canceled, a reason can be optionally provided here.
created_at integer
Time in epoch seconds when this resource was created
complete_at integer
Time in epoch seconds by which this fulfillment should be completed
id string
The unique ID given to this fulfillment prefixed with ful_
inventory Array.<Inventory>
The inventory that needs to be shipped in this fulfillment
shipment_label_url string
The URL of the shipping label that gets generated when the fulfillment is completed
location_id string
The ID of the location to which this manifest is being delivered
metadata object
These are your metadata key value pairs added to the manifest
order_number string
The order number that either you provided to the fulfillment or that PackageX added automatically
organization_id string
The ID of the organization that owns this fulfillment. In almost all cases, this will be your organization ID.
packaging_recommendations Array
A list of the recommended way(s) to package to product into parcels
if any shipping boxes are predefined in the settings. This is currently an empty array for all users.
packing_slip_url Array
The URL to the PDF of the packing slip for all items added to inventory
parcels Array.<Parcel>
All parcels in the fulfillment and the inventory packed within them
Show Details
rates_generated_at integer
Time in epoch seconds when shipping rates were generated for this fulfillment. Shipping rates are only valid for 15 minutes after which new rates must be fetched.
recipient object
Details about the contact receiving this shipment
Show Details
sender object
Details about the contact sending this shipment
Show Details
shipment_id string
The ID of the shipment associated with this fulfillment, prefixed with ship_
shipment_rate_type string
The type of rate that was purchased for the shipment linked to the fulfillment without needing to query the shipment. Options include:
Show Rate Types
status string
The status of the fulfillment
Show Details
updated_at integer
Time in epoch seconds when this resource was last updated