Request

Only available to Buyer Users.

Security
OAuth2(Required scopes: FullAccessShopper)
Path
categoryIDstringrequired

ID of the category.

Query
catalogIDstringrequired

ID of the catalog.

curl -i -X GET \
  'https://api.ordercloud.io/v1/me/categories/{categoryID}?catalogID=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Only available to Buyer Users.

Bodyapplication/json
IDstring, <= 100 characters
Example:""
Namestring, <= 100 characters
Example:""
Descriptionstring, <= 2000 characters
Example:""
ListOrderinteger, (int32), >= 0

Order that the category appears within its parent or catalog (if root level).

Example:1
Activeboolean

If false, buyers cannot see this category or any categories or products under it.

Example:false
ParentIDstring

ID of the parent category.

Example:""
ChildCountinteger, (int32)read-only

Number of categories that are immediate children of this category.

Example:0
xpobject
Example:
{}
Response
{ "ID": "", "Name": "", "Description": "", "ListOrder": 1, "Active": false, "ParentID": "", "ChildCount": 0, "xp": {} }