Product API Endpoints

Here you can browse through the available product and order API endpoints. Each list of API endpoints links to the respective API endpoint page which provides a list of request parameters, response objects, an example request and an example response.

Following is a list of the available product endpoints for retrieving products and for managing a product and its items.

Create a Product

Use this endpoint to create one or more products.

Request Parameters

Endpoint: POST https://sandbox.voyageone.com/v1/restapi/supplier/product/create
Parameter Data Type Description Example
products array of product objects REQUIRED. An array of one or more product objects.

Response Format

On success, the HTTP status code in the response header is 200 OK and the response body contains an array of one or more product result objects in JSON format. On error, the response body contains an error object.

Example Request


curl --location --request POST 'https://sandbox.voyageone.com/v1/restapi/supplier/product/create' \
--header 'Client-Id: {your Client ID}' \
--header 'Authorization: Bearer {Your Token}' \
--header 'Content-Type: application/json' \
--data-raw '{
  products":
  [
    {
      "code": "b37574",
      "model": "yeezyboost350v2",
      "mfcode":"45237658702",
      "brand": "Adidas",
      "category": "Clothing, Shoes, Jewelry & Sports",
      "tkofCategoryId": "50014522",
      "industry": "clothing_shoes_jewelry",
      "title": "Adidas Yeezy Boost 350 V2",
      "shortTitle": "Adidas Yeezy Boost 350 V2",
      "clientProductURL": "https://www.sneakerhead.com/adidas-yeezy-boost-350-v2-b37572.html",
      "color": "Semi Frozen Yellow / Raw Steal-Red",
      "material": "Synthetic and Fabric",
      "description": "Developed by Kanye West, the Adidas Yeezy Boost 350 V2 is the latest version of the popular 350 model. Constructed with a tri-color Primeknit upper, they also feature internal toebox reinforcement, 3-Stripes detail on the inner heel, \"SPLY-350\" detail, full-length Boost technology, rope laces, and a semi-translucent rubber outsole.",
      "shortDescription": "Adidas Yeezy Boost 350 V2 Lifestyle Shoes",
      "origin": "CN",
      "productImages":
      [
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-1",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-2",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-3",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-4",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-5"
      ],
      "packageImages":
      [
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-21",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-22"
      ],
      "productType": "shoes",
      "sizeChartType": "US",
      "sizeChartImage": "https://www.sneakerhead.com/int-size.html#adidas-shoes",
      "sizeType": "Men",
      "usage": "New",
      "customAttributes":
      [
        {
          "gender": "male"
        },
        {
          "colorMap": "Yellow"
        },
        {
          "release_date": "2017-02-25"
        },
        {
           "sole-material": "BOOST cushioned sole"
        }
      ],
        "optAttributes":
        [
          {"originalProductTitle": "Adidas Yeezy Boost 350"},
          {"chineseProductTitle": "阿迪达斯椰子Boost系列"},
          {"mainMaterial": "纺织物"},
          {"auxiliaryMaterial1": "橡胶"},
          {"auxiliaryMaterial2": "无纺布"},
          {"materialDescription": "无"},
          {"chineseHscodeBC": "1235209"},
          {"chineseHscodeCC": "5302798"}
        ],
        "filingAttributes":
        [
          {"chineseOptimizeTitle": "阿迪达斯椰子Boost系列"},
          {"chineseSalesPoint": "高强度运动男鞋"},
          {"optimizeMainImages": "https://img.alicdn.com/imgextra/i4/725677994/O1CN01EIUvOM28vIljslf8e_!!725677994.jpg_430x430q90.jpg"},
          {"transparentImage": "https://img.alicdn.com/imgextra/i3/6000000006580/O1CN01QDfw1V1yTgjtwkme7_!!6000000006580-0-at.jpg_430x430q90.jpg"},
          {"optimizeDescriptionImages": "https://img.alicdn.com/imgextra/i4/725677994/O1CN01EIUvOM28vIljslf8e_!!725677994.jpg_430x430q90.jpg"},
          {"optimizeDescriptionContent": "全球直发限量款式"},
          {"groupMainCode": "b37574-8.5"},
          {"ColorType": "淡紫色"}
        ],
      "items":
      [
        {
          "sku": "b37574-8.5",
          "mfBarcode": "191040406188",
          "size": "8.5",
          "variationValue": "8.5",
          "barcode": "191040406188",
          "weight": 2.5,
          "weightUnit": "lb",
          "priceMsrp": 370.00,
          "priceRetail": 299.95,
          "priceCost": 169.95,
          "currency": "USD",
          "qty": 15,
          "dimension": "381*254*127",
          "alive": true,
          "taxRate": 0
        },
        {
          "sku": "b37574-9.5",
          "mfBarcode": "191040406189"
          "size": "9.5",
          "variationValue": "9.5",
          "barcode": "191040406331",
          "weight": 2.5,
          "weightUnit": "lb",
          "priceMsrp": 370.00,
          "priceRetail": 299.95,
          "priceCost": 169.95,
          "currency": "USD",
          "qty": 105,
          "dimension": "381*254*127",
          "alive": true,
          "taxRate": 0
        }
      ]
    }
  ]
}'

Example Response


{
  "code": "0",
  "data":
  [
    {
      "code": "b37572",
      "hasErrors": false,
      "errors": [],
      "itemResults":
	  [
        {
          "hasErrors": false,
          "errors": [],
          "sku": "b37572-8.5"
        },
        {
          "hasErrors": false,
          "errors": [],
          "sku": "b37572-9.5"
        }
      ]
    }
  ]
}

Get a List of Products

Use this endpoint to retrieve a list of products.

Request Parameters

Endpoint: POST https://sandbox.voyageone.com/v1/restapi/supplier/product/list
Parameter Data Type Description Example
pageNo number The specific page number in a paginated list of results. Including this parameter in your request will limit the response to a single page matching the page sequence order represented by the page number. 1
23
164

pageSize

number

The number of products to include in the page of results. Including this parameter in your request will adjust the response to only include no more than the number of products that you specify on each page.

Note: The maximum number of products that can be included regardless of the amount you specify is 100.

1
10
58
100

createdTime number Required. The specified time range for which the product's createdTime property equals or is within the specified range.

Note: When you first create a product, the VoyageOne API will automatically add the createdTime property using the current UTC timestamp in milliseconds.

specify a time range, include the starting and ending UTC timestamps in milliseconds. For example, to specify January 1, 2018 through December 31, 2018, you would specify [1514764800000, 1546214400000] as the value. To get a list of all products, specify the value as [null, null].

[1514764800000, 1546214400000] [1547148497117, 1547148497117]

Response Format

On success, the HTTP status code in the response header is 200 OK and the response body contains an array of one or more product objects in JSON format. On error, the response body contains an error object.

Example Request


curl -X POST https://sandbox.voyageone.com/v1/restapi/supplier/product/list \
-H "Client-Id: {your Client ID}" \
-H "Authorization: Bearer {your Token}" \
-H "Content-Type: application/json" \
-d \
'{
  "pageNo": 1,
  "pageSize": 100,
  "createdTime": [1547148497117, 1547148497117]
}'

Example Response


{
  "code": "0",
  "data":
  [
    {
      "code": "b37572",
      "mfCode": "b37572",
      "model": "yeezyboost350v2",
      "brand": "Adidas",
      "category": "Shoes>Men\\'s>Fashion Sneakers",
      "tkofCategoryId": "50014522",
      "industry": "beauty",
      "title": "Adidas Yeezy Boost 350 V2",
      "shortTitle": "Adidas Yeezy Boost 350 V2",
      "clientProductURL": "https://www.sneakerhead.com/adidas-yeezy-boost-350-v2-b37572.html",
      "color": "Semi Frozen Yellow / Raw Steal-Red",
      "material": "Synthetic and Fabric",
      "description": "Developed by Kanye West, the Adidas Yeezy Boost 350 V2 is the latest version of the popular 350 modConstructed with a tri-color Primeknit upper, they also feature internal toebox reinforcement, 3-Stripes detail on the inner heel, \"SPLY-350\" detail, full-length Boost technology, rope laces, and a semi-translucent rubber outsole.",
      "shortDescription": "Adidas Yeezy Boost 350 V2 Lifestyle Shoes",
      "origin": "cn",
      "productImages":
      [
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-1",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-2",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-3",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-4",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-5"
      ],
      "packageImages":
      [
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-21",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/adidas-yeezy-boost-350-v2-b37572-22"
      ],
      "productType": "shoes",
      "sizeChartType": "us",
      "sizeChartImage": "https://www.sneakerhead.com/int-size.html#adidas-shoes",
      "sizeType": "Men",
      "usage": "New",
      "customAttributes":
      [
        {
          "gender": "male"
        },
        {
          "colorMap": "Yellow"
        },
        {
          "release_date": "2017-02-25"
        },
        {
        "sole-material": "BOOST cushioned sole"
        }
      ],
      "optAttributes":
      [
        {
           "chineseOptimizeTitle": "BOOST cushioned sole"
        }
      ],
      "filingAttributes":
      [
        {
           "chineseProductTitle": "BOOST cushioned sole"
        }
      ],
      "createdTime": 1547148497117,
      "items":
      [
        {
          "sku": "b37572-8.5",
          "size": "8.5",
          "variationValue": "8.5",
          "barcode": "191040406188",
          "mfBarcode": "191040406188",
          "weight": 2.5,
          "weightUnit": "lb",
          "priceMsrp": 370,
          "priceRetail": 299.95,
          "priceCost": 169.95,
          "currency": "usd",
          "qty": 15,
          "dimension": "381*254*127",
          "alive": true,
          "taxRate": 0.08
        },
        {
          "sku": "b37572-9.5",
          "size": "9.5",
          "variationValue": "9.5",
          "barcode": "191040406331",
          "mfBarcode": "191040406331",
          "weight": 2.5,
          "weightUnit": "lb",
          "priceMsrp": 370,
          "priceRetail": 299.95,
          "priceCost": 169.95,
          "currency": "usd",
          "qty": 105,
          "dimension": "381*254*127",
          "alive": true,
          "taxRate": 0.08
        }
      ]
    }
  ]
}

Get a Product

Use this endpoint to retrieve a product.

Request Parameters

Endpoint: POST https://sandbox.voyageone.com/v1/restapi/supplier/product/info
Parameter Data Type Description Example
code string Required. The product code of the product to retrieve. "b37572-8.5"
"lw181k52-940-XS"
" 531592"

Response Format

On success, the HTTP status code in the response header is 200 OK and the response body contains a product object in JSON format. On error, the response body contains an error object.

Example Request


curl -X POST https://sandbox.voyageone.com/v1/restapi/supplier/product/info \
-H "Client-Id: {your Client ID}" \
-H "Authorization: Bearer {your Token}" \
-H "Content-Type: application/json" \
-d \
'{
  "code": "lw181k52-940"
}'

Example Response


{
  "code": "0",
  "data":
  [
    {
      "code": "lw181k52-940",
      "mfCode": "b37572",
      "model": "lw181k52",
      "createdTime": 1547150030995,
      "brand": "Fila",
      "category": "Clothing & Accessories>Women>Dresses",
      "tkofCategoryId": "50014522",
      "industry": "beauty",
      "title": "FILA Viola 2 Dress",
      "shortTitle": "Adidas Yeezy Boost 350 V2",
      "clientProductURL": "https://www.sneakerhead.com/fila-viola-2-dress-lw181k52-940.html",
      "color": "Lake Blue",
      "material": "95% cotton/5% spandex",
      "description": "FILA logo taping - Long sleeve - 95% cotton - 5% spandex",
      "shortDescription": "FILA Viola 2 Dress",
      "origin": "id",
      "productImages":
      [
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/fila-viola-2-dress-lw181k52-940-1",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/fila-viola-2-dress-lw181k52-940-2",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/fila-viola-2-dress-lw181k52-940-3"
      ],
      "packageImages": [],
      "productType": "apparel",
      "sizeChartType": "us",
      "sizeChartImage": "",
      "sizeType": "Women",
      "usage": "New",
      "customAttributes":
      [
        {
          "gender": "female"
        },
        {
          "colorMap": "Blue"
        },
        {
          "care": "Machine Wash Cold. Tumble Dry Low. Do not bleach. Do no Use Softeners. Cool Iron. Do No Dry Clean"
        },
        {
          "special_features": "Long sleeves with ribbed logo cuffs. Fila jacquard elastic arm band and bottom hem."
        }
      ],
      "optAttributes":
      [
        {
           "chineseOptimizeTitle": "BOOST cushioned sole"
        }
      ],
      "filingAttributes":
      [
        {
           "chineseProductTitle": "BOOST cushioned sole"
        }
      ],
      "items":
      [
        {
          "sku": "lw181k52-940-XS",
          "size": "XS",
          "variationValue": "XS",
          "barcode": "789482342593",
          "mfBarcode": "789482342593",
          "weight": 4,
          "weightUnit": "lb",
          "priceMsrp": 78,
          "priceRetail": 68,
          "priceCost": 48.95,
          "currency": "usd",
          "qty": 72,
          "dimension": "",
          "alive": true,
          "taxRate": 0.08
        },
        {
          "sku": "lw181k52-940-M",
          "size": "M",
          "barcode": "789482342616",
          "variationValue": "M",
          "mfBarcode": "789482342616",
          "weight": 4,
          "weightUnit": "lb",
          "priceMsrp": 78,
          "priceRetail": 68,
          "priceCost": 48.95,
          "currency": "usd",
          "qty": 23,
          "dimension": "",
          "alive": true,
          "taxRate": 0.08
        },
        {
          "sku": "lw181k52-940-L",
          "size": "L",
          "barcode": "789482342623",
          "variationValue": "L",
          "mfBarcode": "789482342623",
          "weight": 4,
          "weightUnit": "lb",
          "priceMsrp": 78,
          "priceRetail": 68,
          "priceCost": 48.95,
          "currency": "usd",
          "qty": 102,
          "dimension": "",
          "alive": true,
          "taxRate": 0.08
        }
      ]
    }
  ]
}

Update a Product

Use this endpoint to update one or more products and items. This endpoint can also be used to delete items by not including the item you wish to remove.

Request Parameters

Endpoint: POST https://sandbox.voyageone.com/v1/restapi/supplier/product/update
Parameter Data Type Description Example
products array of product objects REQUIRED. An array of one or more product objects.

Response Format

On success, the HTTP status code in the response header is 200 OK and the response body contains an array of one or more product result objects in JSON format. On error, the response body contains an error object.

Example Request


curl -X POST https://sandbox.voyageone.com/v1/restapi/supplier/product/update \
-H "Client-Id: {your Client ID}" \
-H "Authorization: Bearer {your Token}" \
-H "Content-Type: application/json" \
-d \
'{
  "products":
  [
    {
      "code": "inco300158-kak-onesize",
      "mfCode": "b37572",
      "model": "citymarkettote",
      "createdTime": 1547150030995,
      "brand": "Hershel Supply",
      "category": "Clothing & Accessories>Luggage & Bags>Backpacks",
      "tkofCategoryId": "50014522",
      "industry": "beauty",
      "title": "Incase City Market Tote",
      "shortTitle": "Adidas Yeezy Boost 350 V2",
      "clientProductURL": "https://www.sneakerhead.com/incase-city-market-tote-inco300158-kak.html",
      "color": "Dark Khaki",
      "material": "Polyester",
      "description": "Versatile and roomy, the Incase City Market Tote has room for all your essentials. Features: Large main compartment with zippered closure, Custom zipper pulls, Front access pocket, Padded laptop sleeve, Durable 840D nylon exterior", 
      "shortDescription": "Incase City Market Tote",
      "origin": "CN",
      "productImages":
      [
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/incase-city-market-tote-inco300158-kak-1",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/incase-city-market-tote-inco300158-kak-2",
        "https://a248.e.akamai.net/f/248/9086/10h/origin-d5.scene7.com/is/image/sneakerhead/snusa-detail_20_zoom?$2356$&$img=sneakerhead/incase-city-market-tote-inco300158-kak-3"
      ],
      "packageImages": [],
      "productType": "luggage & bags",
      "sizeChartType": "",
      "sizeChartImage": "",
      "sizeType": "Other",
      "usage": "New",
      "customAttributes":
      [
        {
          "volume": "23L"
        },
        {
          "compatibility": "Up to 13 inch MacBook Pro"
        },
        {
          "closure_type": "zippered"
        }
      ],
      "optAttributes":
      [
        {
           "chineseOptimizeTitle": "BOOST cushioned sole"
        }
      ],
      "filingAttributes":
      [
        {
           "chineseProductTitle": "BOOST cushioned sole"
        }
      ],
      "items":
      [
        {
          "sku": "inco300158-kak-onesize",
          "size": "onesize",
          "barcode": "650450142654",
          "variationValue": "onesize",
          "mfBarcode": "650450142654",
          "weight": 2,
          "weightUnit": "lb",
          "priceMsrp": 70.00,
          "priceRetail": 65.00,
          "priceCost": 45.95,
          "currency": "USD",
          "qty": 83,
          "dimension": "546.1*355.6*203.2",
          "alive": true,
          "taxRate": 0.08
        }
      ]
    }
  ]
}'

Example Response


{
  "code": "0",
  "data":
  [
    {
      "code": "inco300158-kak-onesize",
      "hasErrors": false,
      "errors": [],
      "itemResults":
      [
        {
          "hasErrors": false,
          "errors": [],
          "sku": "inco300158-kak-onesize"
        }
      ]
    }
  ]
}

Update Item's Inventory

Use this endpoint to set the inventory of an item.

Request Parameters

Endpoint: POST https://sandbox.voyageone.com/v1/restapi/supplier/product/sku/inventory/update
Parameter Data Type Description Example
items array of simplified product item objects Required. Unlike the product create and product update endpoints, only the item sku and qty properties are required. {
"sku": "531592",
"qty": 110
}

Response Format

On success, the HTTP status code in the response header is 200 OK and the response body contains an array of one or more product item result objects in JSON format. On error, the response body contains an error object.

Example Request


curl -X POST https://sandbox.voyageone.com/v1/restapi/supplier/product/sku/inventory/update \
-H "Client-Id: {your Client ID}" \
-H "Authorization: Bearer {your Token}" \
-H "Content-Type: application/json" \
-d \
'{
  "items":
  [
    {
      "sku": "cp9654-9.5",
      "qty": 110
    },
    {
      "sku": "cp9654-10.5",
      "qty": 90
    }
  ]
}'

Example Response


{
  "code": "0",
  "data":
  [
    {
      "sku": "cp9654-9.5",
      "hasErrors": false,
      "errors": []
    },
    {
      "sku": "cp9654-10.5",
      "hasErrors": false,
      "errors": []
    }
  ]
}

Update Item's Price

Use this endpoint to set the price of an item.

Request Parameters

Endpoint: POST https://sandbox.voyageone.com/v1/restapi/supplier/product/sku/price/update
Parameter Data Type Description Example

items

array of simplified product item objects

Required. Unlike the product create and product update endpoints, only the item sku, priceMsrp, priceRetail and priceCost properties are required.

{
"sku": "531592",
"priceMsrp": 78.00,
"priceRetail": 68.00,
"priceCost": 42.95,
"taxRate": 0.08
}

Response Format

On success, the HTTP status code in the response header is 200 OK and the response body contains an array of one or more product item result objects in JSON format. On error, the response body contains an error object.

Example Request


curl -X POST https://sandbox.voyageone.com/v1/restapi/supplier/product/sku/price/update \
-H "Client-Id: {your Client ID}" \
-H "Authorization: Bearer {your Token}" \
-H "Content-Type: application/json" \
-d \
'{
  "items":
  [
    {
      "sku": "lw181k52-940-XS",
      "priceMsrp": 78.00, 
      "priceRetail": 68.00, 
      "priceCost": 42.95,
      "taxRate": 0.08
    },
    {
      "sku": "lw181k52-940-M",
      "priceMsrp": 78.00, 
      "priceRetail": 68.00, 
      "priceCost": 42.95,
      "taxRate": 0.08
    },
    {
      "sku": "lw181k52-940-L",
      "priceMsrp": 78.00, 
      "priceRetail": 68.00, 
      "priceCost": 42.95,
      "taxRate": 0.08
    }
  ]
}'

Example Response


{
  "code": "0",
  "data":
  [
    {
      "sku": "lw181k52-940-XS",
      "hasErrors": false,
      "errors": []
    },
    {
      "sku": "lw181k52-940-M",
      "hasErrors": false,
      "errors": []
    },
    {
      "sku": "lw181k52-940-L",
      "hasErrors": false,
      "errors": []
    }
  ]
}

Update Item's Status

Use this endpoint to set the status of an item.

Request Parameters

Endpoint: POST https://sandbox.voyageone.com/v1/restapi/supplier/product/sku/status/update
Parameter Data Type Description Example
items array of simplified product item objects Required. Unlike the product create and product update endpoints, only the item sku and alive properties are required. {
"sku": "531592",
"alive": true
}

Response Format

On success, the HTTP status code in the response header is 200 OK and the response body contains an array of one or more product item result objects in JSON format. On error, the response body contains an error object.

Example Request


curl -X POST https://sandbox.voyageone.com/v1/restapi/supplier/product/sku/status/update \
-H "Client-Id: {your Client ID}" \
-H "Authorization: Bearer {your Token}" \
-H "Content-Type: application/json" \
-d \
'{
  "items":
  [
    {
      "sku": "531592",
      "alive": true
    },
    {
      "sku": "cp9654-10.5",
      "alive": true
    }
  ]
}'

Example Response


{
  "code": "0",
  "data":
  [
    {
      "sku": "531592",
      "hasErrors": false,
      "errors": []
    },
    {
      "sku": "cp9654-10.5",
      "hasErrors": false,
      "errors": []
    }
  ]
}