curl --location 'https://api.hyperzod.app/admin/v1/merchant/create' \
--header 'x-tenant: 42' \
--header 'x-client-device: web' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"country": "United States",
"country_code": "US",
"phone": "+12025550142",
"language_translation": [
{
"key": "name",
"locale": "en",
"value": "Maple Street Kitchen"
}
],
"delivery_by": "tenant",
"accepted_order_types": [
"delivery"
],
"commission": [
{
"order_type": "delivery",
"type": "fixed",
"calculate_on_status": 1,
"fixed_value": 1,
"percent_value": 1
}
],
"status": true,
"tax_method": "exclusive",
"type": "ecommerce",
"is_contactable": true,
"email": "emily.carter@example.com",
"address": "123 Market Street",
"share_customer_details": true,
"post_code": "94103",
"city": "San Francisco",
"state": "CA",
"owner_name": "Emily Carter"
}'