Skip to main content
Blog PIM

How REST API Accelerates PIM

MS Alavudeen
July 22, 2019 |
How REST API Accelerates PIM

The role of any API is to share data from one application to another. Earlier, it was not an easy task to identify where data was located for different APIs. That is when REST entered the picture making it easy for one application to communicate with another, in the fastest way.

Usually, company’s product data is stored at multiple places, and there are times when specific data or file is needed in some other department. The best way to send files is via API, and in such scenarios, REST API becomes handy – it gets things done faster, is lightweight, secure, and easy to write code.

What is REST API? – A Simple Understanding

REST stands for REpresentational State Transfer. It acts as a connector between two applications, anywhere, using HTTP requests to GET, PUT, POST, and DELETE data.

It is also referred to as a RESTful web service – based on representational state transfer (REST) technology, an architectural style, and approach to communications often used in web services development.

REST API in DCKAP PIM

A list of REST API Links and other details will be provided for every DCKAP PIM user. With the help of the given information, the DCKAP PIM user can send the REST API Request to DCKAP PIM. Once the tool receives a request, the following happens:

  1. Read Request Header and Authenticate the Request
  2. Read Request URL and direct to corresponding Functionalities
  3. Read Form Data from Request and do corresponding Operations
  4. Return Appropriate Data along with success message (if request is executed successfully)
  5. Return Error message along with a reason (if it was unable to process the request)

REST API Authentication

Token-based Authentication is implemented in DCKAP PIM’s REST API. Every DCKAP PIM User is provided a secret token through which the users can gain access to the DCKAP PIM API.

With the help of DCKAP PIM’s REST API, users can create, edit, and delete the following things:

  • Category
  • Attribute
  • Attribute Group
  • Family
  • Product

REST API in DCKAP PIM can fetch and transfer data to platforms like Magento, Shopify, BigCommerce, any other eCommerce and ERP platforms. Users can also modify data in DCKAP PIM from other resources after establishing the connection with REST API.

REST API in PIM

REST API for Accessing Data from DCKAP PIM

# Link Method Purpose
1 http://host/api/categories POST Return List of All Available Categories
2 http://host/api/families POST Return List of All Available Family
3 http://host/api/products POST Return List of All Available Products
4 http://host/api/attribute_groups POST Return List of All Available Attributes Group
5 http://host/api/attributes POST Return List of All Available Attributes

REST API for Modifying Data in DCKAP PIM

# Link Method Purpose
1 http://host/api/categories/create POST Create a New Category
2 http://host/api/categories/update POST Edit an Existing Category
3 http://host/api/categories/delete POST Delete an Existing Category
4 http://host/api/families/create POST Create a New Family
5 http://host/api/families/update POST Edit an Existing Family
6 http://host/api/families/addAttributes POST Add Attributes to an Existing Family
7 http://host/api/families/delete POST Delete an Existing Family
8 http://host/api/products POST Return List of All Available Products
9 http://host/api/products/create POST Create a New Product
10 http://host/api/products/edit POST Edit an Existing Product
11 http://host/api/products/delete POST Delete an Existing Product
12 http://host/api/attribute_groups/create POST Create a New Attribute Group
13 http://host/api/attribute_groups/addAttributes POST Add Attributes to an Existing Attribute Group
14 http://host/api/attribute_groups/update POST Edit an Existing Attribute Group
15 http://host/api/attribute_groups/delete POST Delete an Existing Attribute Group
16 http://host/api/attributes/create POST Create a New Attribute
17 http://host/api/attributes/edit POST Edit an Existing Attribute
18 http://host/api/attributes/delete POST Delete an Existing Attribute

Advantages of Rest API in DCKAP PIM

  • Data Manipulation – Transfer data to various other ERP systems.
  • Data Consistency – If data is changed in one platform, it is automatically reflected in all the other platforms having access to REST API.
  • Data Reusability – Data in multiple channels can be utilized conveniently.
  • Reduces Manual Effort – All the processes are automated, thus reducing redundant and repetitive tasks.
  • Data Dependency – Users don’t have to depend on any specific user as all the data is stored in multiple channels.
  • No Need for SDK’s – Tasks can be accomplished without the need to rely on Software Development Kits (SDKs).

Files transfer becomes seamless with REST API Integration. It offers amazing multi channel support by transferring necessary files swiftly to the specific system

DCKAP PIM provides you the API to transfer data in case your company has multi-channels, and if you already have an API in place, the same can be connected easily. Ensure a hassle-free data and files transfer REST API and DCKAP PIM.

Having a large scale of products data which is taking too much time to locate and load? Contact DCKAP PIM and do both – streamline your company’s product data, and offer amazing customer experiences.

MS Alavudeen

Alavudeen comes with an experience of 3+ Years as a Software Engineer with a demonstrated history of working in the IT and services industry. He is skilled in Laravel, PHP, Python, Django, HTML, CSS, JavaScript, jQuery, AJAX, and Web Development.

More posts by MS Alavudeen