POST /inventory-feed-variants/{id}/publish.json

POST /inventory-feed-variants/{id}/publish.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

Responses

POST /inventory-feed-variants/{id}/publish.json
curl \
 -X POST http://api.example.com/v1/inventory-feed-variants/{id}/publish.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","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"}'
Request example
{
  "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"
}
Response examples (200)
{
  "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"
}