application/json

Body Required

  • active boolean Required
  • external_id string(nullable)
  • labels array Required
  • descriptions array
  • hours array
  • pos_type integer(int32) Required

    Values are 1, 2, 3, 4, 5, 6, 7, or 8.

  • phone string(nullable)
  • email string(nullable)
  • external_url string(nullable)

Responses

  • 201 application/json

    returns the created point of sale

    Hide response attributes Show response attributes object
    • id_point_of_sale integer(int32)
    • date_insert string(nullable)
    • date_update string(nullable)
    • active boolean
    • external_id string(nullable)
    • pos_type integer(int32)
    • phone string(nullable)
    • email string(nullable)
    • external_url string(nullable)
    • members array
    • labels array
    • descriptions array
    • hours array
  • 403

    Forbidden - You don't have permission to access this route

POST /manager/points-of-sale
curl \
 --request POST 'https://domain.tld/api/v2/manager/points-of-sale' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"active":true,"external_id":"string","labels":[],"descriptions":[],"hours":[],"pos_type":1,"phone":"string","email":"string","external_url":"string"}'
Request examples
{
  "active": true,
  "external_id": "string",
  "labels": [],
  "descriptions": [],
  "hours": [],
  "pos_type": 1,
  "phone": "string",
  "email": "string",
  "external_url": "string"
}
Response examples (201)
{
  "id_point_of_sale": 42,
  "date_insert": "string",
  "date_update": "string",
  "active": true,
  "external_id": "string",
  "pos_type": 42,
  "phone": "string",
  "email": "string",
  "external_url": "string",
  "members": [],
  "labels": [],
  "descriptions": [],
  "hours": []
}