Transfer products to parent
- Print
Transfer products to parent
- Print
Article summary
Did you find this summary helpful?
Thank you for your feedback!
Put
/v2/{accessKey}/product/transferToParent
Header parameters
Authorization
stringRequired
Authorization: Bearer
Path parameters
accessKey
stringRequired
Customer access key
Body parameters
Array of object
object
productId
integer (int64)
Automatically generated unique product ID
customerProductId
string
Customer's product ID and must be unique(defined by the customer)
Responses
200
200
Result
"{\n \"results\" : [ \n {\n \"productId\": \"1001\",\n \"customerProductId\": \"SHOPLIVE_PRODUCT_1\",\n \"name\": \"Keyring\",\n \"brand\": \"SHOPLIVE\",\n \"description\": null,\n \"url\": \"https://www.shoplive.cloud/en\",\n \"sku\": \"SKU001\",\n \"imageUrl\": \"https://image.shoplive.cloud/e05d1464-1942-4e4e-bb0b-c4310167d465.jpeg\",\n \"currency\": \"USD\",\n \"showPrice\": true,\n \"originalPrice\": 20.0,\n \"discountPrice\": 10.0,\n \"discountRate\": 50.0,\n \"enableAuction\": false,\n \"bidStartingPrice\": null,\n \"bidDuration\": null,\n \"bidIncrementalAmount\": null,\n \"extendBidDuration\": null,\n \"locked\": false,\n \"seller\": null\n \"createdAt\": \"2022-05-20T08:01:05Z\",\n \"updatedAt\": \"2022-05-20T11:27:34Z\",\n \"message\": null,\n \"status\": \"UPDATE\"\n },\n {\n \"productId\": \"1002\",\n \"customerProductId\": \"SHOPLIVE_PRODUCT_2\",\n \"name\": \"Hoodie\",\n \"brand\": \"SHOPLIVE\",\n \"description\": null,\n \"url\": \"https://www.shoplive.cloud/en\",\n \"sku\": \"SKU002\",\n \"imageUrl\": \"https://image.shoplive.cloud/40afe353-0d23-47b6-acdf-10d1fca10c57.jpeg\",\n \"currency\": \"USD\",\n \"showPrice\": true,\n \"originalPrice\": 50.0,\n \"discountPrice\": 37.0,\n \"discountRate\": 26.0,\n \"enableAuction\": false,\n \"bidStartingPrice\": null,\n \"bidDuration\": null,\n \"bidIncrementalAmount\": null,\n \"extendBidDuration\": null,\n \"locked\": false,\n \"seller\": null\n \"createdAt\": \"2022-05-20T08:01:05Z\",\n \"updatedAt\": \"2022-05-20T11:27:34Z\",\n \"message\": null,\n \"status\": \"UPDATE\"\n }\n ],\n \"successCount\": 2,\n \"warnCount\": 0,\n \"failCount\": 0,\n \"totalCount\": 2\n}\n"
4XX
4XX
Result
"{\n \"_s\": -000,\n \"_e\": \"Error message\"\n}"