Store
SELLER_ACCOUNT_STORE_CREATE - Create stores and link them to a user
Changed onCreate multiple stores and link them to a user. This API should be used by connectors.
<div class="api-description-extension"> </div>post/v1/users/stores
Request
- Base URLhttps://account.mirakl.net/api/channel-platform
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
tokenstring required
Token used by app-account to identify the user, product, and vendor
link_stores_to_organizationboolean
When true, the created stores are automatically linked to the organization the seller selected when granting consent to the connector. Ignored when the consent flow did not record an organization, and stores already linked to an organization are left untouched.
Request body
Response
Stores have been created and linked to user. Depending on the value of link_stores_to_organization, the stores have also been linked to an organization
Changes
- info
added the new optional
queryrequest parameterlink_stores_to_organization - info
added the non-success response with the status
- info