PaidGoods

List blog posts

GET
/v1/stores/{storeId}/blog/posts

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Query Parameters

page?integer
Range1 <= value <= 9007199254740991
Default1
perPage?integer
Range1 <= value <= 200
Default25
status?string

Value in

  • "draft"
  • "scheduled"
  • "published"
  • "all"
tag?string
Lengthlength <= 60
q?string
Lengthlength <= 200

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/blog/posts"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "title": "string",      "slug": "string",      "excerpt": "string",      "contentMd": "string",      "coverImageId": "f61f10db-f133-4c85-9a07-18e8faa1b9b3",      "coverUrl": "string",      "coverImageUrl": "string",      "tags": [        "string"      ],      "featuredProductIds": [        "96361c4f-d5bf-405e-a2f5-91a1ac81f31b"      ],      "status": "draft",      "effectiveStatus": "draft",      "publishedAt": "string",      "scheduledAt": "string",      "metaTitle": "string",      "metaDescription": "string",      "viewCount": -9007199254740991,      "createdAt": "string",      "updatedAt": "string"    }  ],  "pagination": {    "page": -9007199254740991,    "perPage": -9007199254740991,    "total": -9007199254740991  }}