Skip to content

order_item object

An order_item object contains the properties that define an order item in DropStream.

Order item objects are children of an order object.

order_item schema

{
  "attribute_comments": "string (65536)",
  "attribute_descriptions": "string (65536)",
  "buyer_part_number": "string",
  "canceled": boolean,
  "color_description": "string",
  "created_at": "dateString",
  "customer_notes": "string",
  "discount_amount": "decimal (8,2)",
  "drop_ship": "string",
  "external_order_item_id": "string",
  "external_product_id": "string",
  "external_variant_id": "string",
  "external_warehouse_order_id": "string",
  "fulfillment_facility": "string",
  "fulfillment_warehouse_id": integer,
  "gift_wrap": boolean,
  "lot_numbers": "string",
  "name": "string",
  "product_options": "string (65536)",
  "product_type": "string",
  "serial_numbers": "string",
  "shipment_id": integer,
  "size_description": "string",
  "sku": "string",
  "tax_amount": "decimal(8,2)",
  "unit_cost": "decimal(8,2)",
  "unit_price": "decimal (8,2)",
  "uom": "string",
  "upc": "string",
  "vendor_id": "string",
  "vendor_part_number": "string",
  "warehouse_id": integer,
  "weight": "decimal (10,2)",
  "weight_uom": "string",
  "options": [
    {
      "gift_message": "string"
    }
  ],
  "custom": {
    "gift_message": "string"
  }
}

order_item properties

attribute_comments

Propertyattribute_comments
Data typestring (65536)
DescriptionItem attribute comments

attribute_descriptions

Propertyattribute_descriptions
Data typestring (65536)
DescriptionItem attribute descriptions

buyer_part_number

Propertybuyer_part_number
Data typestring
DescriptionBuyer part number

canceled

Propertycanceled
Data typeboolean
Descriptiontrue if item was canceled from the order
Examplefalse

color_description

Propertycolor_description
Data typestring
DescriptionItem color description

created_at

Propertycreated_at
Data typedateString
DescriptionDateTime when the order item was imported to DropStream
Example2022-12-08T13:03:23Z

custom

Propertycustom
Data typeobject
DescriptionCustom fields, if any
Example
{
  "gift_message": "string"
}

customer_notes

Propertycustomer_notes
Data typestring
DescriptionCustomer notes associated with this item

discount_amount

Propertydiscount_amount
Data typedecimal (8,2)
DescriptionMonetary discount amount associated with this item
Example1.23

drop_ship

Propertydrop_ship
Data typestring
DescriptionDrop ship

external_order_item_id

Propertyexternal_order_item_id
Data typestring
DescriptionThe external platform's ID for this item

external_product_id

Propertyexternal_product_id
Data typestring
DescriptionThe external platform's ID for this product

external_variant_id

Propertyexternal_variant_id
Data typestring
DescriptionThe external platform's ID for this product variant

external_warehouse_order_id

Propertyexternal_warehouse_order_id
Data typestring
DescriptionThe warehouse's ID for the associated order

fulfillment_facility

Propertyfulfillment_facility
Data typestring
DescriptionFulfillment facility

fulfillment_warehouse_id

Propertyfulfillment_warehouse_id
Data typeinteger
DescriptionFulfillment warehouse ID

gift_wrap

Propertygift_wrap
Data typeboolean
Descriptiontrue if item is gift wrapped
Examplefalse

lot_numbers

Propertylot_numbers
Data typestring
DescriptionLot number(s) of this item

name

Propertyname
Data typestring
DescriptionItem name

options

Propertyoptions
Data typeArray containing one or more objects
DescriptionOrder item option fields, if any
Example
[
  {
    "gift_message": "string"
  }
]

product_options

Propertyproduct_options
Data typestring (65536)
DescriptionProduct options for this item

product_type

Propertyproduct_type
Data typestring
DescriptionProduct type for this item

serial_numbers

Propertyserial_numbers
Data typestring
DescriptionSerial number(s) of this item

shipment_id

Propertyshipment_id
Data typeinteger
DescriptionDropStream internal ID of the shipment associated with this item

size_description

Propertysize_description
Data typestring
DescriptionSize description for this item

sku

Propertysku
Data typestring
DescriptionItem SKU

tax_amount

Propertytax_amount
Data typedecimal(8,2)
DescriptionTax amount

unit_cost

Propertyunit_cost
Data typedecimal(8,2)
DescriptionUnit cost for this item

unit_price

Propertyunit_price
Data typedecimal (8,2)
DescriptionItem unit price

uom

Propertyuom
Data typestring
DescriptionUnit of measure

upc

Propertyupc
Data typestring
DescriptionItem UPC

vendor_id

Propertyvendor_id
Data typestring
DescriptionVendor ID

vendor_part_number

Propertyvendor_part_number
Data typestring
DescriptionVendor part number

warehouse_id

Propertywarehouse_id
Data typeinteger
DescriptionDropStream warehouse ID

weight

Propertyweight
Data typedecimal (10,2)
DescriptionItem weight

weight_uom

Propertyweight_uom
Data typestring
DescriptionWeight unit of measure