Skip Main Navigation
Page Content

Assortments

GET /organizations/:id/assortment/

Retrieve the assortment for the organization.

Parameters

Takes no parameters

Errors

No endpoint-specific errors

POST /organizations/:id/assortment/

Set a organization’s assortment and returns the assortment for the specified user.

Parameters

Name Type Required Description
plan string Yes The assortments package to upgrade/downgrade to. (Valid choices are: package1, or package2)

Errors

No endpoint-specific errors

GET /users/:id/assortment/

Please use GET /organizations/:id/assortment/.

Warning

This endpoint is in the process of being deprecated.

Retrieve the assortment for the user.

Parameters

Takes no parameters

Errors

No endpoint-specific errors

POST /users/:id/assortment/

Please use POST /organizations/:id/assortment/.

Warning

This endpoint is in the process of being deprecated.

Set a user’s assortment and returns the assortment for the specified user.

Parameters

Name Type Required Description
plan string Yes The assortments package to upgrade/downgrade to. (Valid choices are: package1, or package2)

Errors

No endpoint-specific errors