"My Shop"
Must match the regex /^[A-Za-z0-9-]+$/.
"myshop"
Must be an image.
Shop created.
1
"2024-01-01T00:00:00.000000Z"
false
"https://myshop.sellauth.com"
const response = await fetch('https://api.sellauth.com/v1/shops/create', { method: 'POST', headers: { "Content-Type": "multipart/form-data" }, body: JSON.stringify({ "name": "My Shop", "subdomain": "myshop" }), }); const data = await response.json();
{ "name": "My Shop", "subdomain": "myshop", "owner_id": 1, "updated_at": "2024-01-01T00:00:00.000000Z", "created_at": "2024-01-01T00:00:00.000000Z", "id": 1, "is_subscribed": false, "url": "https://myshop.sellauth.com", "valid_payment_methods": [] }