Partial Assortments

Endpoints for Partial Assortments addon

Partial Assortments addon

List all categories and their rules

get
Query parameters
limitintegerOptional

Max amount of resources to be returned in a page

pageintegerOptional

The page to be returned

Responses
chevron-right
200

List of categories and their rules

application/json
get
/b2bsellers-partial-assortment-category-rule
200

List of categories and their rules

Assign a rule to a category for the rule-based assortment

post

If a category-rule combination already exists, the status code 204 is returned.

Responses
post
/b2bsellers-partial-assortment-category-rule

No content

Delete a rule from a category

delete

If a category-rule combination doesn't exist, the status code 204 is returned.

Path parameters
categoryIdstringRequired

UUID of a category

Example: 0191752e8684727ba17e503c4cdfa0a6
ruleIdstringRequired

UUID of a rule

Example: 0190ba79481d7111b96ca4febb62ce62
Responses
delete
/b2bsellers-partial-assortment-category-rule/{categoryId}/{ruleId}
204

No content

No content

List all landing pages and their rules

get
Query parameters
limitintegerOptional

Max amount of resources to be returned in a page

pageintegerOptional

The page to be returned

Responses
chevron-right
200

List of landing pages and their rules

application/json
get
/b2bsellers-partial-assortment-landing-page-rule
200

List of landing pages and their rules

Assign a rule to a landing page for the rule-based assortment

post

If a landingPage-rule combination already exists, the status code 204 is returned.

Responses
post
/b2bsellers-partial-assortment-landing-page-rule

No content

Delete a rule from a landing page

delete

If a landingPage-rule combination doesn't exist, the status code 204 is returned.

Path parameters
landingPageIdstringRequired

UUID of a landing page

Example: 0191752e8684727ba17e503c4cdfa0a6
ruleIdstringRequired

UUID of a rule

Example: 0190ba79481d7111b96ca4febb62ce62
Responses
delete
/b2bsellers-partial-assortment-landing-page-rule/{landingPageId}/{ruleId}
204

No content

No content

List all products and their rules

get
Query parameters
limitintegerOptional

Max amount of resources to be returned in a page

pageintegerOptional

The page to be returned

Responses
chevron-right
200

List of products and their rules

application/json
get
/b2bsellers-partial-assortment-product-rule
200

List of products and their rules

Assign a rule to a product for the rule-based assortment

post

If a product-rule combination already exists, the status code 204 is returned.

Responses
post
/b2bsellers-partial-assortment-product-rule

No content

Delete a rule from a product

delete

If a product-rule combination doesn't exist, the status code 204 is returned.

Path parameters
productIdstringRequired

UUID of a product

Example: 0191752e8684727ba17e503c4cdfa0a6
ruleIdstringRequired

UUID of a rule

Example: 0190ba79481d7111b96ca4febb62ce62
Responses
delete
/b2bsellers-partial-assortment-product-rule/{productId}/{ruleId}
204

No content

No content

Last updated

Was this helpful?