beehexa integrationsidebar
beehexa logo

We Build HexaSync Integration Platform for Connecting ERP, POS, CRM, Accounting, and eCommerce Applications to Automate Business Processes

beehexa how to get create and delete products category assignments 01

BigCommerce API 2024: How To Retrieve And Create Products Category Assignments

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:  

https://api.bigcommerce.com/stores/{store_hash}/v3/catalog/products/category-assignments

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:  

https://api.bigcommerce.com/stores/{store_hash}/v3/catalog/products/category-assignments

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:

beehexa how to get create and delete products category assignments 2
beehexa how to get create and delete products category assignments 2

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

Table of Contents

Ready to integrate and automate at scale ?

Learn how HexaSync lets you build enterprise-grade integrations and automations without having to code.

Receive Exclusive Productivity Tips Directly in Your Inbox

We’ll email you 1-3 times per week—and never share your information.

Get started for free

You can’t add more hours to the day. Beehexa is the next best thing.