POST
/
product
/
batch
curl --request POST \
  --url https://api.shipbob.com/1.0/product/batch \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'shipbob_channel_id: <shipbob_channel_id>' \
  --data '[
  {
    "barcode": "123456789012",
    "gtin": "012345678905",
    "name": "Medium Blue T-Shirt",
    "reference_id": "TShirtBlueM",
    "sku": "TShirtBlueM",
    "unit_price": 20.32,
    "upc": "012345678912"
  }
]'
[
  {
    "barcode": "123456789012",
    "bundle_root_information": {
      "id": 0,
      "name": "string"
    },
    "channel": {
      "id": 0,
      "name": "House of Slippers"
    },
    "created_date": "2019-08-24T14:15:22Z",
    "fulfillable_inventory_items": [
      {
        "id": 0,
        "name": "Medium Blue T-Shirt",
        "quantity": 0
      }
    ],
    "fulfillable_quantity_by_fulfillment_center": [
      {
        "committed_quantity": 0,
        "fulfillable_quantity": 0,
        "id": 0,
        "name": "Cicero",
        "onhand_quantity": 0
      }
    ],
    "gtin": "012345678905",
    "id": 0,
    "name": "Medium Blue T-Shirt",
    "reference_id": "TShirtBlueM",
    "sku": "TShirtBlueM",
    "total_committed_quantity": 0,
    "total_fulfillable_quantity": 0,
    "total_onhand_quantity": 0,
    "unit_price": 20.32,
    "upc": "012345678912"
  }
]

Authorizations

Authorization
string
header
required

Provide your personal access token in the format 'Bearer {your_personal_access_token}'

Headers

shipbob_channel_id
string
required

Channel Id for Operation

Body

application/json · object[]
List of up to 50 products to add
name
string
required

The name of the product

Required string length: 1 - 2000
Example:

"Medium Blue T-Shirt"

reference_id
string
required

Unique reference identifier for the product. Any linked or generated inventory will also be uniquely identified by this value

Required string length: 1 - 400
Example:

"TShirtBlueM"

barcode
string | null

Barcode for the product

Maximum length: 150
Example:

"123456789012"

gtin
string | null

Global Trade Item Number - unique and internationally recognized identifier assigned to item by company GS1.

Maximum length: 50
Example:

"012345678905"

sku
string | null

Stock keeping unit for the product

Maximum length: 400
Example:

"TShirtBlueM"

unit_price
number | null

The price of one unit

Example:

20.32

upc
string | null

Universal Product Code - Unique external identifier

Maximum length: 50
Example:

"012345678912"

Response

200
application/json
Success
barcode
string | null

Barcode for the product

Example:

"123456789012"

bundle_root_information
object
channel
object

Information about a store channel

created_date
string

Date the product was created

fulfillable_inventory_items
object[] | null

The inventory that this product will resolve to when packing a shipment

The inventory that store products can resolve to when packing a shipment

fulfillable_quantity_by_fulfillment_center
object[] | null

Fulfillable quantity of this product broken down by fulfillment center location

Break down of quantities by fulfillment center

gtin
string | null

Global Trade Item Number - unique and internationally recognized identifier assigned to item by company GS1.

Example:

"012345678905"

id
integer

Unique identifier of the product

name
string | null

The name of the product

Example:

"Medium Blue T-Shirt"

reference_id
string | null

Unique reference identifier of the product

Example:

"TShirtBlueM"

sku
string | null

Stock keeping unit for the product

Example:

"TShirtBlueM"

total_committed_quantity
integer

Total committed quantity of this product

total_fulfillable_quantity
integer

Total fulfillable quantity of this product

total_onhand_quantity
integer

Total on hand quantity of this product

unit_price
number | null

The price of one unit

Example:

20.32

upc
string | null

Universal Product Code - Unique external identifier

Example:

"012345678912"

Was this page helpful?