An analysis of Products Category Assignments provides valuable insights into customer experiences, emerging trends in the market, and information about your competitors’ marketing activities. This will allow you to make timely business decisions that lead to a competitive advantage in the market. That is why I will show you how to get and create Products Category Assignments today.
Retrieve Products Category Assignments
Log in to Postman, choose a workspace and open a new request tab. Here, select GET and paste the URL:ย ย
Replace Store hash with your store hash
Now in the header section, fill in the information about:
- X-auth-token
- Accept
- Content-type
After all, click send button to see the result:
Create Products Category Assignments
To create Create Products Category Assignments, select PUT and paste the URL:ย ย
Replace Store hash with your store hash
In the header section, You have to fill in the information about:
- X-auth-token
- Accept
- Content-type
In the Body section, You need to declare the information about the following:
Product_idinteger
category_idinteger
Example
[
{
"product_id": 112,
"category_id": 12
}
]
Code language: JSON / JSON with Comments (json)
After all, click send button to see the result:
The above are steps to get and create Products Category Assignments in BigCommerce Using Postman. You need to follow the steps that I instructed above. If you have any difficulty or questions at any step, please comment below or refer to our BigCommerce API documentation if you have any questions.
Hope you are successful