input UpdateProductInput
Fields
| Field | Type | Description |
|---|---|---|
customer_account_id | String | Use this when you are a 3PL acting on behalf of one of your customers. |
sku | String! | SKU. SKU matching is case-insensitive and ignores surrounding whitespace. |
manage_inventory | Boolean | Whether ShipHero keeps pushing available inventory for this SKU to its eligible connected stores. Set to false to stop pushing inventory updates. Fails if the SKU is not connected to any store. Setting false is unavailable when the selected stores include eBay or Magento. Saves the product preference even when the store's inventory push is disabled; does not enable the store's global inventory push setting. When combined with other product changes, a store-toggle failure can leave those product changes committed. |
manage_inventory_stores | [String!] | Store IDs returned by product_stores that the manage_inventory change applies to. Omit to apply it to every eligible connected store; an empty list changes no store. Ineligible stores are skipped. Requires manage_inventory. |
name | String | Human-readable name for this product. |
dimensions | DimensionsInput | Package or item dimensions. Length, width, and height are in inches unless account or carrier configuration specifies another unit. |
tariff_code | String | Tariff code for this product. |
product_note | String | Product note for this product. |
country_of_manufacture | String | ISO country code for country of manufacture. |
needs_serial_number | Boolean | True when this product needs serial number; false otherwise. |
dropship | Boolean | Whether this product is fulfilled by dropshipping instead of warehouse inventory. |
barcode | String | Barcode value for the product. |
customs_description | String | Customs description for this product. |
ignore_on_customs | Boolean | Whether to ignore on customs for this product. |
ignore_on_invoice | Boolean | Whether to ignore on invoice for this product. |
tags | [String] | Fully replaces existen tags with the ones provided. |
vendors | [UpdateProductVendorInput] | List of vendors associated with this product. |
final_sale | Boolean | Whether this product is final sale and not eligible for standard returns. |
virtual | Boolean | Whether this product is virtual and not represented by physical stock. |
needs_lot_tracking | Boolean | True when this product needs lot tracking; false otherwise. |
images | [UpdateProductImageInput] | List of images associated with this product. |
cases | [UpdateProductCaseInput] | List of cases for this product. |
packer_note | String | Packer note for this product. |
is_assembly | Boolean | Set to true if the product is classified as an assembly within work order workflows. |
size | String | The product's size (e.g. S, M, L). |
style | String | The product's style. |
merchant_product_id | String | EU De Minimis merchant product identifier (M-PID). |
non_standard_manufacturer_product_id | String | EU De Minimis non-standardized manufacturer product identifier (NS-PID). |
standard_manufacturer_product_id | String | EU De Minimis standardized manufacturer product identifier (S-PID): a GTIN, EAN, UPC or ISBN barcode of 8, 12, 13 or 14 digits, or "Y081" when none exists. |
vendor_part_number | String | Vendor part number for this product. |
consumer_package_code | String | Consumer package code for this product. |
buyer_part_number | String | Buyer part number for this product. |
buyer_style_number | String | Buyer style number for this product. |
auto_pack | Boolean | Whether this product can be packed automatically without manual packing choices. |
must_ship_alone | Boolean | Whether the product is configured to ship separately. Sending false or null disables this setting. Omit to leave unchanged. |
Referenced By
- product_update Mutation
Example
{
"customer_account_id": "QWNjb3VudDoxMjM0",
"sku": "BLUE-TEE-M",
"manage_inventory": true,
"manage_inventory_stores": ["c3RvcmU6djE6c2hvcGlmeToxOjE"],
"name": "Blue Tee",
"dimensions": {length: 12.5, width: 8.0, height: 4.0},
"tariff_code": "STANDARD",
"product_note": "Customer requested expedited handling.",
"country_of_manufacture": "US",
"needs_serial_number": true,
"dropship": true,
"barcode": "012345678905",
"customs_description": "Customer requested expedited handling.",
"ignore_on_customs": false,
"ignore_on_invoice": false,
"tags": ["priority", "vip"],
"vendors": [[{sku: "BLUE-TEE-M", name: "Blue Tee"}]],
"final_sale": true,
"virtual": true,
"needs_lot_tracking": true,
"images": [[{sku: "BLUE-TEE-M", name: "Blue Tee"}]],
"cases": [[{sku: "BLUE-TEE-M", name: "Blue Tee"}]],
"packer_note": "Customer requested expedited handling.",
"is_assembly": true,
"size": "M",
"style": "crew-neck",
"merchant_product_id": "12345",
"non_standard_manufacturer_product_id": "SH123456-L",
"standard_manufacturer_product_id": "0012345678905",
"vendor_part_number": "VP-100045",
"consumer_package_code": "STANDARD",
"buyer_part_number": "BP-100045",
"buyer_style_number": "crew-neck",
"auto_pack": true,
"must_ship_alone": true
}