Partial Assortments
Endpoints for Partial Assortments addon
Query parameters
limitintegerOptional
Max amount of resources to be returned in a page
pageintegerOptional
The page to be returned
Responses
200
List of categories and their rules
application/json
get/b2bsellers-partial-assortment-category-rule
GET /b2bsellers-partial-assortment-category-rule HTTP/1.1
Accept: */*
200
List of categories and their rules
{
"data": [
{
"id": "0191752e8684727ba17e503c4cdfa0a6-0190ba79481d7111b96ca4febb62ce62",
"type": "b2bsellers_partial_assortment_category_rule",
"attributes": {
"categoryId": "0191752e8684727ba17e503c4cdfa0a6",
"categoryVersionId": "0fa91ce3e96a4bc2be4bd9ce752c3425",
"ruleId": "0190ba79481d7111b96ca4febb62ce62"
}
}
]
}Path parameters
categoryIdstringRequiredExample:
UUID of a category
0191752e8684727ba17e503c4cdfa0a6ruleIdstringRequiredExample:
UUID of a rule
0190ba79481d7111b96ca4febb62ce62Responses
204
No content
No content
delete/b2bsellers-partial-assortment-category-rule/{categoryId}/{ruleId}
DELETE /b2bsellers-partial-assortment-category-rule/{categoryId}/{ruleId} HTTP/1.1
Accept: */*
204
No content
No content
Query parameters
limitintegerOptional
Max amount of resources to be returned in a page
pageintegerOptional
The page to be returned
Responses
200
List of landing pages and their rules
application/json
get/b2bsellers-partial-assortment-landing-page-rule
GET /b2bsellers-partial-assortment-landing-page-rule HTTP/1.1
Accept: */*
200
List of landing pages and their rules
{
"data": [
{
"id": "0191752e8684727ba17e503c4cdfa0a6-0190ba79481d7111b96ca4febb62ce62",
"type": "b2bsellers_partial_assortment_landing_page_rule",
"attributes": {
"landingPageId": "0191752e8684727ba17e503c4cdfa0a6",
"landingPageVersionId": "0fa91ce3e96a4bc2be4bd9ce752c3425",
"ruleId": "0190ba79481d7111b96ca4febb62ce62"
}
}
]
}Path parameters
landingPageIdstringRequiredExample:
UUID of a landing page
0191752e8684727ba17e503c4cdfa0a6ruleIdstringRequiredExample:
UUID of a rule
0190ba79481d7111b96ca4febb62ce62Responses
204
No content
No content
delete/b2bsellers-partial-assortment-landing-page-rule/{landingPageId}/{ruleId}
DELETE /b2bsellers-partial-assortment-landing-page-rule/{landingPageId}/{ruleId} HTTP/1.1
Accept: */*
204
No content
No content
Query parameters
limitintegerOptional
Max amount of resources to be returned in a page
pageintegerOptional
The page to be returned
Responses
200
List of products and their rules
application/json
get/b2bsellers-partial-assortment-product-rule
GET /b2bsellers-partial-assortment-product-rule HTTP/1.1
Accept: */*
200
List of products and their rules
{
"data": [
{
"id": "0191752e8684727ba17e503c4cdfa0a6-0190ba79481d7111b96ca4febb62ce62",
"type": "b2bsellers_partial_assortment_product_rule",
"attributes": {
"productId": "0191752e8684727ba17e503c4cdfa0a6",
"productVersionId": "0fa91ce3e96a4bc2be4bd9ce752c3425",
"ruleId": "0190ba79481d7111b96ca4febb62ce62"
}
}
]
}Path parameters
productIdstringRequiredExample:
UUID of a product
0191752e8684727ba17e503c4cdfa0a6ruleIdstringRequiredExample:
UUID of a rule
0190ba79481d7111b96ca4febb62ce62Responses
204
No content
No content
delete/b2bsellers-partial-assortment-product-rule/{productId}/{ruleId}
DELETE /b2bsellers-partial-assortment-product-rule/{productId}/{ruleId} HTTP/1.1
Accept: */*
204
No content
No content
Last updated
Was this helpful?