homemade food app
  1. Public
homemade food app
  • APIs v1
    • Auth
      • Register: submit account data
        POST
      • Register: resend confirmation email
        POST
      • Register: submit email-confirmation code
        POST
      • Login by password or 3rd-party providers
        POST
      • Reset passwd: submit email
        POST
      • Reset passwd: submit new password
        PUT
    • Admin (role-based)
      • Merchant admin
        • Get products list
        • Create product (merchant-specific or global)
        • Update product
        • Delete product
        • Get discount events list
        • Create discount event for product(s)
        • Update discount event for product(s)
        • Delete discount event for product(s)
        • Create merchant
        • Find orders by merchant
        • Update order
        • Update order's delivery status
      • Get users list
      • Get user by ID
      • Create user
      • Get merchants list
    • User (private)
      • Get current account data
        GET
      • Exchange new tokens
        GET
      • Request to delete current account
        DELETE
    • Public
      • Find merchants
        GET
      • Find products by merchant
        GET
      • Get merchant by ID
        GET
  • Schemas
    • V1
      • common
        • Serial ID
        • UUID
        • Ward
        • District
        • Province
        • Administrative Unit
        • Administrative Region
        • Domain hostname
        • Coordinates
        • Phone Number
        • Timestamp
        • RootLinks
        • RootError
        • Request Meta
      • Auth
        • Auth tokens
        • Auth with provider
        • JWT
      • Address
      • User
      • Product
      • Product Category
      • Merchant
      • Order
      • Event:Discount
      • Order Delivery Status
      • Tag
  1. Public

Get merchant by ID

Designing
GET
https://mock.apidog.com/m1/740441-0-default/merchants/{merchantId}
Last modified:2025-01-07 07:37:34

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://mock.apidog.com/m1/740441-0-default/merchants/{{$number.int(min=1)}}' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Body

Example
{
    "data": {
        "id": 0,
        "name": "string"
    },
    "error": null,
    "links": null,
    "meta": null
}
Modified at 2025-01-07 07:37:34
Previous
Find products by merchant
Next
Serial ID
Built with