Get Single Order Profile
Returns details of an active order profile based on its code.
Note: Order Profiles were previously called Account Profiles, and may still be referred to in this way in the API, in some cases.
Path parameters
-
The unique identifier for the business location.
-
The order profile code.
GET
/o/op/data/{businessLocationId}/account-profiles/tagcode/{tagCode}
curl \
-X GET https://api.lsk.lightspeed.app/o/op/data/45454565682155/account-profiles/tagcode/DELIVERY \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": 12454575601144,
"code": "takeaway",
"name": "Takeaway",
"deliveryMode": "TAKE_AWAY"
}