Skip to content

Get Merchant

GET {{BASE_HABITAT_URL}}/api/v3/merchants/{{$merchantId}}

Required scope: merchants:read

Gets a specific merchant object given an id

Terminal window
curl --request GET '${BASE_HABITAT_URL}/api/v3/merchants/${$merchantId}'
{
"type": "success",
"data": {
"id": "d0924c31-5540-11ed-9c77-7f289b287406",
"created_at": "2022-10-26T15:13:58.858Z",
"name": "wawa",
"location": {
"address": "16 W 14th St, New York, NY 10011, USA",
"coordinates": {
"type": "Point",
"coordinates": [
-73.99798179999999,
40.7376758
]
}
},
"phone": "2677660550",
"email": "jj@gmail.com",
"habitat": "ce3140da-9629-46aa-8509-b049667dc4f1",
"territory": "76a558fb-2c89-42b4-a493-fafc966a5825",
"timezone": "America/New_York",
"operator_id": 26,
"archived": null,
"options": {
"prep_time": 20,
"pickup_instructions": null,
"auto_accept": true,
"priority": false
},
"rates": {
"daas_rate": 5.5,
"oozo_rate": null,
"catering_rate": 30,
"scheduled_rate": 15,
"diner_delivery_fee": null,
"runner_commission": null
},
"billing": {
"enabled": true,
"stripe_id": null,
"invoice_email": "jj@gmail.com",
"invoice_default_type": null
}
}
}