Product SKU
Query parameters
schemastringRequiredExample:
To create a new SKU schema, define the combination criteria from the Settings section below. The SKU number is a unique combination of Product ID (Product Code) plus all or one of the following: Currencies/Volume Discounts/Purchase Types/Pricing Options
{ "Products": [ { "Code": "VALID_PRODUCT_CODE_1", "Currencies": [ "USD", "EUR", "GBP", "BGN" ], "PurchaseTypes": [ "NEW_PRODUCT", "RENEWAL" ], "PricingConfigurationCodes": [ { "Code": "VALID_PRICING_CONFIGURATION_CODE_1", "VolumeDiscounts": [ [ 1, 3 ], [ 4, 10 ] ], "OptionGroups": [ { "Code": "GROUP_CODE_2" } ] } ] }, { "Code": "VALID_PRODUCT_CODE_2", "Currencies": [ "USD", "EUR" ], "PurchaseTypes": [ "NEW_PRODUCT" ], "PricingConfigurationCodes": [ { "Code": "VALID_PRICING_CONFIGURATION_CODE_2", "OptionGroups": [ { "Code": "GROUP_CODE_1" } ] } ] } ] }Header parameters
Acceptstring · enumRequiredDefault:
application/jsonExample: application/jsonPossible values: X-Avangate-AuthenticationstringRequiredExample:
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Responses
200
Returns generated SKU schema
application/json
ProductCodestringOptional
401
Authentication failure
application/json
get
/productskuQuery parameters
ProductCodestringRequiredExample:
6B3CB17DDA_COPY1Header parameters
Acceptstring · enumRequiredDefault:
application/jsonExample: application/jsonPossible values: X-Avangate-AuthenticationstringRequiredExample:
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Responses
200
Returns generated SKU schema
application/json
ProductCodestringOptionalExample:
O365BASICget
/productsku/search200
Returns generated SKU schema
Header parameters
X-Avangate-AuthenticationstringRequiredExample:
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Acceptstring · enumRequiredExample:
application/jsonPossible values: Bodyobject[]
ProductCodestringOptionalExample:
ABAC3939FSKUsstring[]OptionalExample:
["AA11","AA12","AA13"]Responses
200
In case of success
application/json
ProductCodestringOptionalExample:
B293KS234SKUsstring[]OptionalExample:
["AA11","AA12","AA13!"]Errorsstring[]OptionalExample:
["Can't parse both SKU and PriceConfiguration at same time","Invalid SKU AA13!"]400
Invalid data
application/json
401
Authentication failure
application/json
post
/productsku/deleteLast updated
Was this helpful?