DRAFT Switch Hybrid Product

This resource accepts the data for the "Hybrid Product" feature. It uses the same authorisation mechanism as it described here: API Specifications.

DRAFT API call

undefined

Endpoint

https://SELLERCENTER-API/shop-api/v1/switch-hybrid-product

Example:

https://SELLERCENTER-API/shop-api/v1/swich-hybrid-product/?ServiceName=SHOP&Timestamp=2016-10-14T22%3A56%3A11%2B0200&Signature=2c93bd83586b212f9f29a3af4bc25f5ba4d0b754687b3082ed821be1d92b993

Parameters

Field

Title

Example

SellerSku

String

A unique identifier for the product within the SellerCenter instance that is to be added to the system. This identifier is usually freely assigned. Harmonized identifiers, such as UPC or EAN can be set via ProductId. SellerSku or ProductId is Mandatory

HybridProduct

Boolean

Mandatory

ShopId

String

Shop unique identifier of a product. Optional if the product has shop src_id otherwise is Mandatory

ShopSku

String

Optional if the product has shop sku otherwise is Mandatory

ProductId

String

A harmonized code for the product, such as Universal Product Code (UPC), International Article Number (EAN), Global Trade Item Number (GTIN) or International Standard Book Number (ISBN). SellerSku or ProductId is Mandatory

Request Example

{  
   "Request":{      
     "Product": {
       "SellerSku": "4105382173aaee4",
       "HybridProduct": "Yes"
     } 
  }
}

Success response

Request was successfully interpreted:

{  
   "SuccessResponse":{  
      "Head":{  
         "RequestId":"",
         "RequestAction":"SwitchHybridProduct",
         "ResponseType":"",
         "Timestamp": "2016-10-15T06:45:37+0200"
      },
      "Body":{  
         "processed": {},
         "failed": {}
         }
      }
   }

Error response

In case request message was improperly formatted:

{
  "ErrorResponse": {
    "Head": {
      "RequestAction": "SwitchHybridProduct",
      "ErrorType": "",
      "ErrorCode": "1001",
      "ErrorMessage": "Product is already hybrid"
    },
    "Body": ""
}