- Plugins
- Auth
- Draft Orders
- Create a Draft Order EditPOST
- Cancel Edit on Draft OrderDELETE
- Confirm an Edit on a Draft OrderPOST
- Request Edit on Draft OrderPOST
- Convert a Draft Order to an OrderPOST
- Add Item to Draft Order EditPOST
- Update Existing Item in Draft Order EditPOST
- Remove Item from Draft Order EditDELETE
- Update New Item in Draft Order EditPOST
- Add Promotions to Draft Order EditPOST
- Remove Promotions from Draft Order EditDELETE
- Add Shipping Method to Draft Order EditPOST
- Remove Shipping Method from Draft Order EditDELETE
- Update Existing Shipping Method in Draft Order EditPOST
- Remove New Shipping Method from Draft OrderDELETE
- Update New Shipping Method in Draft Order EditPOST
- Delete a Draft OrderDELETE
- Get a Draft OrderGET
- Update a Draft OrderPOST
- Create Draft OrderPOST
- List Draft OrdersGET
- Fulfillment Providers
- Fulfillment Sets
- Inventory Items
- Manage Inventory Levels
- Manage Inventory Levels of Inventory Item
- Create Inventory Level for Inventory Item
- List Inventory Levels
- Update an Inventory Level of an Inventory Item
- Remove Inventory Level of Inventory Item
- Create Inventory Item
- List Inventory Items
- Get a Inventory Item
- Delete Inventory Item
- Update an Inventory Item
- Order Edits
- Create Order Edit
- Confirm Order Edit
- Request Order Edit
- Add Items to Order Edit
- Update Order Item Quantity of Order Edit
- Remove Item from Order Edit
- Update an Item in an Order Edit
- Add Shipping Method to Order Edit
- Remove Shipping Method from Order Edit
- Update Shipping Method of an Order Edit
- Cancel Order Edit
- Orders
- List Changes on an Order
- Mark a Fulfillment as Delivered.
- Get Preview
- Archive an Order
- Cancel Order
- Cancel Transfer Request
- Create Credit Line for Order
- Request Order Transfer
- Complete Order
- Update Order
- Get an Order
- List Line Items
- Cancel Fulfillment
- Create an Order Fulfillment
- Create Shipment for an Order's Fulfillment
- List Orders
- Payment Collections
- Products
- Create Product Import
- Confirm Product Import
- Export Products
- Manage Products
- Manage Variants in a Product
- Associate Variant with Inventory Item
- Remove Inventory Item Association with Product Variant
- Update Product Variant's Inventory Details
- Delete a Product
- Get a Product
- Update a Product
- Create a Product Option
- List a Product's Options
- Get a Product's Option
- Delete an Option from Product
- Update a Product's Option
- Get Variant of a Product
- Delete Product Variant
- Update a Product Variant
- Manage Variants Inventory in a Product
- Create a Product Variant
- List Variants of a Product
- Create Product
- List Products
- Claims
- Get a Claim
- Cancel a Claim
- Add Inbound Items to a Claim
- Remove an Inbound Item from Claim
- Update Inbound Items of a Claim
- Add an Inbound Shipping Method to a Claim
- Cancel Claim Request
- Confirm a Claim Request
- Add Claim Items to a Claim
- Remove a Claim Item from a Claim
- Update a Claim Item
- Remove Inbound Shipping Method from Claim
- Update Inbound Shipping Method of a Claim
- Add Outbound Items to a Claim
- Remove an Outbound Item from Claim
- Update Outbound Item of a Claim
- Add Outbound Shipping Methods to a Claim
- Remove Outbound Shipping Method from Claim
- Update Outbound Shipping Method of a Claim
- Create a Claim
- List Claims
- Currencies
- Exchanges
- Get an Exchange
- Cancel an Exchange
- Add Inbound Items to an Exchange
- Remove Inbound Item from Exchange
- Update an Inbount Item of an Exchange
- Add an Inbound Shipping Method to an Exchange
- Cancel Exchange Request
- Confirm an Exchange
- Remove Inbound Shipping Method from Exchange
- Update Inbound Shipping Method of an Exchange
- Add Outbound Items to Exchange
- Remove Outbound Item from Exchange
- Update Outbound Item of an Exchange
- Add Outbound Shipping Method to Exchange
- Remove Outbound Shipping Method from Exchange
- Update Outbound Shipping Method of Exchange
- Create Exchange
- List Exchanges
- Fulfillments
- Invites
- Notifications
- Payments
- Returns
- Cancel a return.
- Get a Return
- Update a Return
- Add Damaged Items to Return
- Remove Damaged Item from Return
- Update Damaged Item of Return
- Add Received Items to Return
- Remove a Received Item from Return
- Update a Received Item in a Return
- Confirm Return Receival
- Add Requested Items to Return
- Remove Item from Return
- Update Requested Item in Return
- Add a Shipping Method to a Return
- Remove Shipping Method from Return
- Update a Shipping Method of a Return
- Start Return Receival
- Cancel Return Receival
- Confirm Return Request
- Cancel Return Request
- Create Return
- List Returns
- Users
- Workflows Executions
- Api Keys
- Price Lists
- Stores
- Tax Rates
- Price Preferences
- Return Reasons
- Sales Channels
- Stock Locations
- Tax Regions
- Promotions
- Customer Groups
- Product Tags
- Product Types
- Refund Reasons
- Uploads
- Campaigns
- Collections
- Customers
- Product Categories
- Reservations
- Shipping Profiles
- Regions
- Tax Providers
- Shipping Options
- Product Variants
Update a Product Category
POST
/admin/product-categories/{id}
Product Categories
Request Request Example
JavaScript
Shell
Java
Swift
curl --location -g --request POST '{{BASE_URL}}/admin/product-categories/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"description": "string",
"handle": "string",
"is_internal": true,
"is_active": true,
"parent_category_id": "string",
"metadata": {},
"rank": 0
}'
Response Response Example
200 - Example 1
{
"product_category": {
"parent_category": {},
"name": "string",
"description": "string",
"id": "string",
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"handle": "string",
"deleted_at": "2019-08-24T14:15:22Z",
"is_active": true,
"is_internal": true,
"rank": 0,
"parent_category_id": "string",
"category_children": [
{}
],
"products": [
{}
]
}
}
Request
Authorization
or
or
or
Path Params
id
stringÂ
required
Query Params
fields
stringÂ
fields
+
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields. This API route restricts the fields that can be selected. Learn how to override the retrievable fields in the Retrieve Custom Links documentation.Body Params application/json
The properties to update in the product category.
name
stringÂ
name
description
stringÂ
description
handle
stringÂ
handle
is_internal
booleanÂ
is_internal
is_active
booleanÂ
is_active
parent_category_id
stringÂ
parent_category_id
metadata
objectÂ
optional
rank
numberÂ
rank
Examples
Responses
🟢200OK
application/json
Body
The product category's details.
product_category
object (AdminProductCategory)Â
required
parent_category
objectÂ
required
name
stringÂ
name
description
stringÂ
description
id
stringÂ
id
metadata
objectÂ
optional
created_at
string <date-time>
created_at
updated_at
string <date-time>
updated_at
handle
stringÂ
handle
deleted_at
string <date-time>
deleted_at
is_active
booleanÂ
is_active
is_internal
booleanÂ
is_internal
rank
numberÂ
rank
parent_category_id
stringÂ
parent_category_id
category_children
array [object]Â
required
products
array [object]Â
optional
🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
🟠409409
🟠422Parameter Error
🔴500Server Error
Modified at 2025-06-17 04:10:32