Tags
Headers
AuthorizationCustomer tokenAPI KeyRequired
Authentication token for this request, sent as
Authorization: Customer TOKEN or Authorization: APIKey TOKEN.x-paynow-store-idstringRequired
PayNow Store Identifier (Store ID) available in Store Settings
Response
200OKStorefrontTagDto[]
Represents a tag entity used for categorizing and filtering products within a store.
Show fieldsHide fields
created_atstringRequired
The date and time when the tag was created.
enabledbooleanRequired
Indicates whether the tag is active and should be included in navigation and filtering.
idFlakeIdRequired
namestringRequired
The display name of the tag shown to customers.
slugstringRequired
The URL-friendly identifier for the tag, used in category URLs.
store_idFlakeIdRequired
descriptionstringOptional
A detailed description of the tag's purpose or the category it represents.
image_urlstringOptional
The URL to the tag image.
updated_atstringOptional
The date and time when the tag was last updated, if applicable.
Failed requests return a PayNowError body. See the error response guide.
curl -X GET "https://api.paynow.gg/v1/store/tags" \
-H "Authorization: Customer TOKEN"import { createStorefrontClient } from "@paynow-gg/typescript-sdk";
const paynow = createStorefrontClient({
storeId: "STORE_ID",
customerToken: "CUSTOMER_TOKEN",
});
const result = await paynow.tags.getStorefrontTags();import requests
headers = {"Authorization": "Customer TOKEN"}
response = requests.get("https://api.paynow.gg/v1/store/tags", headers=headers)Response200
[
{
"created_at": "2024-01-01T00:00:00Z",
"enabled": true,
"id": "411486491630370816",
"name": "string",
"slug": "string",
"store_id": "411486491630370816",
"description": "string",
"image_url": "https://cdn.paynow.gg/logo/full/logotype-color.svg",
"updated_at": "2024-01-01T00:00:00Z"
}
]