Register new store
Sellers can to create up to 3 stores using one account, and they will also be able to switch smoothly between their stores. This will allow them to have better and easier control over their businesses and reduce their cognitive load.
Endpoint: https://api.youcan.shop/register-store
Method: POST
Required Scopes
register-store
Parameters
Param Name | Param Type | Description | Required |
---|---|---|---|
store_name | string | the new store slug | yes |
language | string | the store language code can be fetched from the config endpoint | yes |
currency | string | the store language code can be fetched from the config endpoint | yes |
accept_condition | boolean | the user must read and accept YouCan conditions and privacy policy | no |
Response
[200]
json
{
"id": "c03c1250-08c0-4144-ac5e-b5e5e58e4328",
"slug": "amine-alyate",
"is_active": false,
"is_email_verified": true
}