Partial Assortments
Endpoints for Partial Assortments addon
Partial Assortments addon
Max amount of resources to be returned in a page
The page to be returned
List of categories and their rules
GET /b2bsellers-partial-assortment-category-rule HTTP/1.1
Accept: */*
List of categories and their rules
{
"data": [
{
"id": "0191752e8684727ba17e503c4cdfa0a6-0190ba79481d7111b96ca4febb62ce62",
"type": "b2bsellers_partial_assortment_category_rule",
"attributes": {
"categoryId": "0191752e8684727ba17e503c4cdfa0a6",
"categoryVersionId": "0fa91ce3e96a4bc2be4bd9ce752c3425",
"ruleId": "0190ba79481d7111b96ca4febb62ce62"
}
}
]
}If a category-rule combination already exists, the status code 204 is returned.
No content
No content
Bad Request
Internal Server Error
POST /b2bsellers-partial-assortment-category-rule HTTP/1.1
Accept: */*
No content
If a category-rule combination doesn't exist, the status code 204 is returned.
UUID of a category
0191752e8684727ba17e503c4cdfa0a6UUID of a rule
0190ba79481d7111b96ca4febb62ce62No content
No content
DELETE /b2bsellers-partial-assortment-category-rule/{categoryId}/{ruleId} HTTP/1.1
Accept: */*
No content
No content
Max amount of resources to be returned in a page
The page to be returned
List of landing pages and their rules
GET /b2bsellers-partial-assortment-landing-page-rule HTTP/1.1
Accept: */*
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"
}
}
]
}If a landingPage-rule combination already exists, the status code 204 is returned.
No content
No content
Bad Request
Internal Server Error
POST /b2bsellers-partial-assortment-landing-page-rule HTTP/1.1
Accept: */*
No content
If a landingPage-rule combination doesn't exist, the status code 204 is returned.
UUID of a landing page
0191752e8684727ba17e503c4cdfa0a6UUID of a rule
0190ba79481d7111b96ca4febb62ce62No content
No content
DELETE /b2bsellers-partial-assortment-landing-page-rule/{landingPageId}/{ruleId} HTTP/1.1
Accept: */*
No content
No content
Max amount of resources to be returned in a page
The page to be returned
List of products and their rules
GET /b2bsellers-partial-assortment-product-rule HTTP/1.1
Accept: */*
List of products and their rules
{
"data": [
{
"id": "0191752e8684727ba17e503c4cdfa0a6-0190ba79481d7111b96ca4febb62ce62",
"type": "b2bsellers_partial_assortment_product_rule",
"attributes": {
"productId": "0191752e8684727ba17e503c4cdfa0a6",
"productVersionId": "0fa91ce3e96a4bc2be4bd9ce752c3425",
"ruleId": "0190ba79481d7111b96ca4febb62ce62"
}
}
]
}If a product-rule combination already exists, the status code 204 is returned.
No content
No content
Bad Request
Internal Server Error
POST /b2bsellers-partial-assortment-product-rule HTTP/1.1
Accept: */*
No content
If a product-rule combination doesn't exist, the status code 204 is returned.
UUID of a product
0191752e8684727ba17e503c4cdfa0a6UUID of a rule
0190ba79481d7111b96ca4febb62ce62No content
No content
DELETE /b2bsellers-partial-assortment-product-rule/{productId}/{ruleId} HTTP/1.1
Accept: */*
No content
No content
Last updated
Was this helpful?