Categories

Allow convertedin to get your product categories

These keys are specified to use as defined in docs, they are case-sensitive. Any change in these keys may cause issues during data sync

post
Categories API

YOUR_BASEURL/convertedin/categories
Request
Response
Request
Query Parameters
per_page
optional
integer
limit per page (default 100)
page
required
integer
page number
token
required
string
Fixed token provided by Convertedin
Response
200: OK
{
"current_page": 1,
"data": [
{
"id": 1,
"title": "Uncategorized",
"handle": "uncategorized",
"content": ""
},
{
"id": 1,
"title": "For him",
"handle": "for-him",
"content": ""
}
],
"from": 1, // start for current page
"last_page": 23, // last available page
"per_page": 100, // limit per page
"to": 100, // end for current page
"total": 2220 // total number of categories
}

Key

Description

Validation Rules

id

category id linked to your products

Required

title

category name

Required

handle

category slug or url

Not required

content

category description or brief

Not required

‚Äč