Store

SELLER_ACCOUNT_STORE_CREATE - Create stores and link them to a user

Changed on
<div class="extension-title">Description</div>

Create 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

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 query request parameter link_stores_to_organization

    • info

      added the non-success response with the status