Sites

List sold-by users for a Site

Returns the combined list of Trybe users and Practitioners who can be selected as the "sold by" attribution on an Order, OrderLine, or basket. The list is filtered to those that belong to the named Site's organisation.

Use the returned id and type values to populate sold_by fields when creating or updating sales records.

get/shop/sites/{siteId}/sold-by-users

Response

The sold-by entities were successfully retrieved.

Example response

{
  "data": [
    {
      "id": "5f8d944e79c9f341846e807a",
      "name": "Ada Lovelace",
      "type": "practitioner"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.