Get Single Account Profile

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

Returns details of an active account profile based on its code.

Note: Account Profiles are now called "Order Profiles" in the POS.

Path parameters

Responses

  • 200 application/json

    Account profile

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

      The unique identifier for the account profile.

    • code string

      A short code representing the account profile.

    • name string

      The system display name for the account profile.

    • Specifies the delivery mode for the account profile.

      Values are NONE, TAKE_AWAY, or DELIVERY.

GET /o/op/data/{businessLocationId}/account-profiles/tagcode/{tagCode}
curl \
 -X GET https://api.trial.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"
}