Create shop

POST /shop/create
application/json

Body Required

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • status string
    • code integer(int32)
    • message string
    • data array[object]
      Hide data attributes Show data attributes object
POST /shop/create
curl \
 --request POST 'https://sandbox.serchservice.com/api/v1/shop/create' \
 --header "Content-Type: application/json" \
 --data '{"name":"string","category":"MECHANIC","address":"string","latitude":42.0,"longitude":42.0,"upload":{"path":"string","media":"string","bytes":"string"},"weekdays":[{"day":"MONDAY","opening":"string","closing":"string"}],"services":["string"],"phone_number":"string"}'
Request examples
{
  "name": "string",
  "category": "MECHANIC",
  "address": "string",
  "latitude": 42.0,
  "longitude": 42.0,
  "upload": {
    "path": "string",
    "media": "string",
    "bytes": "string"
  },
  "weekdays": [
    {
      "day": "MONDAY",
      "opening": "string",
      "closing": "string"
    }
  ],
  "services": [
    "string"
  ],
  "phone_number": "string"
}
Response examples (200)
{
  "status": "100 CONTINUE",
  "code": 42,
  "message": "string",
  "data": [
    {
      "name": "string",
      "category": "string",
      "image": "string",
      "logo": "string",
      "open": true,
      "status": "OPEN",
      "rating": 42.0,
      "id": "string",
      "address": "string",
      "phone": "string",
      "latitude": 42.0,
      "longitude": 42.0,
      "link": "string",
      "current": {
        "id": 42,
        "day": "string",
        "opening": "string",
        "closing": "string",
        "open": true
      },
      "weekdays": [
        {
          "id": 42,
          "day": "string",
          "opening": "string",
          "closing": "string",
          "open": true
        }
      ],
      "services": [
        {
          "id": 42,
          "service": "string"
        }
      ]
    }
  ]
}