Use this API to create a new Assortment in the Dsco Platform.

 The Create Assortment API documents the API's URL, it's arguments/return values and how to interact with it (GET, POST, PUT, etc.) in the Dsco Interactive Playground.

Input Webhook JSON Object

Pass an instance of a Assortment JSON Object as the body of the http request and the assortment will be created.

If an existing assortment with exactly the same name is found (case sensitive) then the API will throw an error.  If the new assortment is marked as "master" and an existing assortment is already marked as "master" the API will unset "master" from the existing assortment first (by setting it to false).

Output Assortment Object

The Create Assortment API returns the newly created Assortment, including the assortmentId that was generated for the Assortment.

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.