Loyalty.lt
Shop products

Get all product categories for mapping

Returns all active product categories that can be used for WooCommerce → Loyalty.lt category mapping

GET/{locale}/shop/products/categories

Returns all active product categories that can be used for WooCommerce → Loyalty.lt category mapping

Authorization

bearerAuth
AuthorizationBearer <token>

Enter JWT token in the format: Bearer {token}

In: header

Path Parameters

locale*string

Value in

  • "lt"
  • "en"

Response Body

application/json

curl -X GET "https://example.com/lt/shop/products/categories"
{  "success": true,  "data": [    {      "id": 0,      "name": "string",      "slug": "string",      "parent_id": 0,      "children": [        {}      ]    }  ]}