product_create
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
data | CreateProductInput! | Yes |
Return Type
Mutation
mutation product_create(
$data: CreateProductInput!
) {
product_create(
data: $data
) {
request_id
complexity
product {
id
legacy_id
account_id
name
sku
price
value
value_currency
barcode
country_of_manufacture
dimensions {
weight
height
width
length
}
tariff_code
kit
kit_build
no_air
final_sale
customs_value
customs_description
not_owned
dropship
needs_serial_number
thumbnail
large_thumbnail
created_at
updated_at
product_note
virtual
ignore_on_invoice
ignore_on_customs
active
needs_lot_tracking
is_assembly
packer_note
size
style
vendor_part_number
consumer_package_code
buyer_part_number
buyer_style_number
auto_pack
warehouse_products {
id
legacy_id
account_id
sku
warehouse_id
warehouse_identifier
price
value
value_currency
on_hand
inventory_bin
inventory_overstock_bin
reserve_inventory
replenishment_level
replenishment_max_level
replenishment_increment
reorder_amount
reorder_level
backorder
allocated
available
non_sellable_quantity
in_tote
custom
customs_value
created_at
updated_at
sell_ahead
active
warehouse {
id
legacy_id
account_id
identifier
dynamic_slotting
invoice_email
phone_number
profile
address {
name
address1
address2
city
state
country
zip
phone
}
return_address {
name
address1
address2
city
state
country
zip
phone
}
company_name
company_alias
active
products {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
...ProductFragment
}
cursor
}
}
}
product {
...ProductFragment
}
inbounds {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
sku
warehouse_id
po_id
purchase_order_line_item_id
po_date
quantity
quantity_received
quantity_rejected
sell_ahead
status
}
cursor
}
}
locations {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
account_id
warehouse_id
location_id
sku
quantity
loose_quantity
allocated_quantity
created_at
updated_at
location {
id
legacy_id
account_id
warehouse_id
type {
id
legacy_id
account_id
name
daily_storage_cost
category
is_lpn_allowed
}
name
zone
pickable
sellable
staging
is_cart
pick_priority
dimensions {
weight
height
width
length
}
length
width
height
max_weight
temperature
products {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
...ProductFragment
}
cursor
}
}
last_counted
created_at
expiration_lots {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
...LotFragment
}
cursor
}
}
}
location_type {
id
legacy_id
account_id
name
daily_storage_cost
category
is_lpn_allowed
}
expiration_lot {
id
legacy_id
account_id
po_id
name
sku
created_at
updated_at
expires_at
received_at
is_active
locations {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
...LocationFragment
}
cursor
}
}
purchase_orders {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
...PurchaseOrderFragment
}
cursor
}
}
}
lpns {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
container_type
status
lpn_id
sku
units
order {
...OrderFragment
}
}
cursor
}
}
product {
...ProductFragment
}
warehouse_product {
...WarehouseProductFragment
}
}
cursor
}
}
}
fba_inventory {
id
legacy_id
quantity
marketplace_id
merchant_id
}
images {
src
position
}
tags
vendors {
vendor_id
vendor_sku
price
}
components {
...ProductFragment
}
kit_components {
id
legacy_id
account_id
sku
quantity
}
assembly_components {
id
legacy_id
account_id
sku
quantity
}
cases {
id
legacy_id
case_barcode
case_quantity
}
}
}
}Variables
{
"data": {
"customer_account_id": "QWNjb3VudDoxMjM0",
"name": "Blue Tee",
"sku": "BLUE-TEE-M",
"price": "19.99",
"value": "19.99",
"warehouse_products": [[{sku: "BLUE-TEE-M", name: "Blue Tee"}]],
"barcode": "012345678905",
"country_of_manufacture": "US",
"dimensions": {length: 12.5, width: 8.0, height: 4.0},
"tariff_code": "STANDARD",
"product_note": "Customer requested expedited handling.",
"kit": true,
"kit_build": true,
"no_air": true,
"final_sale": true,
"customs_value": "19.99",
"customs_description": "Customer requested expedited handling.",
"not_owned": true,
"ignore_on_customs": false,
"ignore_on_invoice": false,
"dropship": true,
"needs_serial_number": true,
"virtual": true,
"needs_lot_tracking": true,
"packer_note": "Customer requested expedited handling.",
"is_assembly": true,
"size": "M",
"style": "crew-neck",
"vendor_part_number": "VP-100045",
"consumer_package_code": "STANDARD",
"buyer_part_number": "BP-100045",
"buyer_style_number": "crew-neck",
"auto_pack": true,
"images": [[{sku: "BLUE-TEE-M", name: "Blue Tee"}]],
"tags": ["priority", "vip"],
"vendors": [[{sku: "BLUE-TEE-M", name: "Blue Tee"}]],
"cases": [[{sku: "BLUE-TEE-M", name: "Blue Tee"}]]
}
}Response
{
"data": {
"product_create": {
"request_id": "UmVjb3JkOjEyMzQ=",
"complexity": 100,
"product": {sku: "BLUE-TEE-M", name: "Blue Tee"}
}
}
}