Get Single Order Profile

GET /o/op/data/{businessLocationId}/account-profiles/tagcode/{tagCode}

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

Responses

  • 200 application/json

    Order profile

    Hide response attributes Show response attributes object
    • id integer(int64)

      The unique identifier for the order profile.

    • code string

      A short code representing the order profile.

    • name string

      The system display name for the order profile.

    • Specifies the delivery mode for the order profile.

      Values are NONE, TAKE_AWAY, or DELIVERY.

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"
}