POST /inventory-feed-variants.json
Body Required
-
allocationBufferOverride integer(int32) | null
Allocation buffer override
-
barcode string | null
Barcode
-
cachedCompareAtPrice string | null
Cached compare at price
-
cachedHandle string | null
Cached handle
-
cachedName string | null
Cached name
-
cachedRetailPrice string | null
Cached retail price
-
Changes pending
Default value is
false
. -
compareAtPrice number | null
Compare at price
-
costPrice number | null
Cost price
-
countryOfOrigin string | null
Country of origin
-
description string | null
Description
-
Distance unit
Values are
in
orcm
. Default value isin
. -
externalGroupId string | null
External group
-
externalId string | null
External
-
externalUrl string | null
External url
-
Grams
Default value is
0
. -
handle string | null
Handle
-
hash string | null
Hash
-
hsCode string | null
Hs code
-
Inventory feed
-
Inventory policy
Values are
ignore
,deny
,continue
,dropship
, ortrack
. Default value istrack
. -
inventoryQuantity integer(int32) | null
Inventory quantity
-
inventoryQuantityOverride string | null
By enabling this feature, you can manually set the inventory quantity for a specific variant in the inventory feed. This allows you to have more control over the displayed inventory quantity on the marketplace. If the quantity in the feed changes, the value you enter for the override will take precedence.
Values are
none
,manual
, ormaximum
. -
Inventory updated at
Default value is
{}
(empty). -
lastFetchedAt string(date-time) | null
Last fetched at
-
manualInventoryPolicy boolean | null
Manual inventory policy
-
manualInventoryQuantity integer(int32) | null
Manual inventory quantity
metaFields object | null | array | boolean | integer | number | string
-
mpn string | null
Mpn
-
name string | null
Name
options object | null | array | boolean | integer | number | string Required
Any of: Options
Default value is
[]
(empty).Options
Default value is
[]
(empty).Options
Default value is
[]
(empty).Options
Default value is
[]
(empty).Options
Default value is
[]
(empty).Options
Default value is
[]
(empty).-
originalCompareAtPrice number | null
Original compare at price
-
originalInventoryQuantity integer(int32) | null
Original inventory quantity
-
originalRetailPrice number | null
Original retail price
-
originalSku string | null
Original sku
-
Packing depth
Default value is
0
. -
Packing height
Default value is
0
. -
Packing width
Default value is
0
. -
position integer(int32) | null
Position
-
Price updated at
Default value is
{}
(empty). -
Pricing override
Values are
none
,manual
,minimumGuidePrice
,minimumGuidePricePercent
,minimumGuidePriceFixed
, orpercent
. Default value isnone
. -
pricingOverrideUplift number | null
Pricing override uplift
-
productType string | null
Product type
publishProblem object | null | array | boolean | integer | number | string
Any of: Publish problem
Publish problem
Publish problem
Publish problem
Publish problem
Publish problem
-
Requires shipping
Default value is
true
. -
retailPrice number | null
Retail price
-
retriedPublishingAt string(date-time) | null
Retried publishing at
-
retriedPublishingTimes integer(int32) | null
Retried publishing times
-
retryPublishing boolean | null
Retry publishing
retryPublishingParams object | null | array | boolean | integer | number | string
Any of: Retry publishing params
Retry publishing params
Retry publishing params
Retry publishing params
Retry publishing params
Retry publishing params
-
reviewReasonId integer(int32) | null
Review reason
-
Review status
Values are
notReviewed
,approved
,pending
, orrejected
. Default value isnotReviewed
. -
Status
Values are
pending
,connected
,error
,removed
,publishing
, orqueued
. Default value ispending
. -
Taxable
Default value is
true
. -
Unique on
Values are
none
orexternalId
. Default value isnone
. -
variantId integer(int32) | null
Variant
-
vendorName string | null
Vendor name
-
Vendor sku
curl \
-X POST http://api.example.com/v1/inventory-feed-variants.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"allocationBufferOverride":42,"barcode":"string","cachedCompareAtPrice":"string","cachedHandle":"string","cachedName":"string","cachedRetailPrice":"string","cachedTags":["string"],"changesPending":false,"compareAtPrice":42.0,"costPrice":42.0,"countryOfOrigin":"string","description":"string","distanceUnit":"in","externalGroupId":"string","externalId":"string","externalUrl":"string","grams":0,"handle":"string","hash":"string","hsCode":"string","images":[],"inventoryFeedId":42,"inventoryPolicy":"track","inventoryQuantity":42,"inventoryQuantityOverride":"none","inventoryUpdatedAt":{},"lastFetchedAt":"2024-05-04T09:42:00+00:00","locations":{},"manualInventoryPolicy":true,"manualInventoryQuantity":42,"messages":{},"metaFields":{},"mpn":"string","name":"string","options":[],"originalCompareAtPrice":42.0,"originalInventoryQuantity":42,"originalRetailPrice":42.0,"originalSku":"string","packingDepth":0,"packingHeight":0,"packingWidth":0,"position":42,"priceUpdatedAt":{},"pricingOverride":"none","pricingOverrideUplift":42.0,"productType":"string","publishProblem":{},"requiresShipping":true,"retailPrice":42.0,"retriedPublishingAt":"2024-05-04T09:42:00+00:00","retriedPublishingTimes":42,"retryPublishing":true,"retryPublishingParams":{},"reviewReasonId":42,"reviewStatus":"notReviewed","status":"pending","tags":[],"taxable":true,"uniqueOn":"none","variantId":42,"vendorName":"string","vendorSku":"string"}'
{
"allocationBufferOverride": 42,
"barcode": "string",
"cachedCompareAtPrice": "string",
"cachedHandle": "string",
"cachedName": "string",
"cachedRetailPrice": "string",
"cachedTags": [
"string"
],
"changesPending": false,
"compareAtPrice": 42.0,
"costPrice": 42.0,
"countryOfOrigin": "string",
"description": "string",
"distanceUnit": "in",
"externalGroupId": "string",
"externalId": "string",
"externalUrl": "string",
"grams": 0,
"handle": "string",
"hash": "string",
"hsCode": "string",
"images": [],
"inventoryFeedId": 42,
"inventoryPolicy": "track",
"inventoryQuantity": 42,
"inventoryQuantityOverride": "none",
"inventoryUpdatedAt": {},
"lastFetchedAt": "2024-05-04T09:42:00+00:00",
"locations": {},
"manualInventoryPolicy": true,
"manualInventoryQuantity": 42,
"messages": {},
"metaFields": {},
"mpn": "string",
"name": "string",
"options": [],
"originalCompareAtPrice": 42.0,
"originalInventoryQuantity": 42,
"originalRetailPrice": 42.0,
"originalSku": "string",
"packingDepth": 0,
"packingHeight": 0,
"packingWidth": 0,
"position": 42,
"priceUpdatedAt": {},
"pricingOverride": "none",
"pricingOverrideUplift": 42.0,
"productType": "string",
"publishProblem": {},
"requiresShipping": true,
"retailPrice": 42.0,
"retriedPublishingAt": "2024-05-04T09:42:00+00:00",
"retriedPublishingTimes": 42,
"retryPublishing": true,
"retryPublishingParams": {},
"reviewReasonId": 42,
"reviewStatus": "notReviewed",
"status": "pending",
"tags": [],
"taxable": true,
"uniqueOn": "none",
"variantId": 42,
"vendorName": "string",
"vendorSku": "string"
}
{
"allocationBufferOverride": 42,
"barcode": "string",
"cachedCompareAtPrice": "string",
"cachedHandle": "string",
"cachedName": "string",
"cachedRetailPrice": "string",
"cachedTags": [
"string"
],
"changesPending": false,
"compareAtPrice": 42.0,
"costPrice": 42.0,
"countryOfOrigin": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"description": "string",
"distanceUnit": "in",
"externalGroupId": "string",
"externalId": "string",
"externalUrl": "string",
"grams": 0,
"handle": "string",
"hash": "string",
"hsCode": "string",
"id": 42,
"images": [],
"inventoryFeedId": 42,
"inventoryPolicy": "track",
"inventoryQuantity": 42,
"inventoryQuantityOverride": "none",
"inventoryUpdatedAt": {},
"lastFetchedAt": "2024-05-04T09:42:00+00:00",
"locations": {},
"manualInventoryPolicy": true,
"manualInventoryQuantity": 42,
"messages": {},
"metaFields": {},
"mpn": "string",
"name": "string",
"options": [],
"originalCompareAtPrice": 42.0,
"originalInventoryQuantity": 42,
"originalRetailPrice": 42.0,
"originalSku": "string",
"packingDepth": 0,
"packingHeight": 0,
"packingWidth": 0,
"position": 42,
"priceUpdatedAt": {},
"pricingOverride": "none",
"pricingOverrideUplift": 42.0,
"productType": "string",
"publishProblem": {},
"requiresShipping": true,
"retailPrice": 42.0,
"retriedPublishingAt": "2024-05-04T09:42:00+00:00",
"retriedPublishingTimes": 42,
"retryPublishing": true,
"retryPublishingParams": {},
"reviewReasonId": 42,
"reviewStatus": "notReviewed",
"status": "pending",
"tags": [],
"taxable": true,
"uniqueOn": "none",
"updatedAt": "2024-05-04T09:42:00+00:00",
"variantId": 42,
"vendorName": "string",
"vendorSku": "string"
}