PATCH /manager/points-of-sale/{id}

Path parameters

  • id integer(int32) Required

    The id of the point of sale

application/json

Body Required

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

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

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

Responses

  • 200 application/json

    returns the updated point of sale

  • 403

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

  • 404

    Not found

PATCH /manager/points-of-sale/{id}
curl \
 --request PATCH 'https://domain.tld/api/v2/manager/points-of-sale/{id}' \
 --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"
}