Explore this blog to
- Enhance your knowledge on Enterprise Product Catalogue and Rest APIs.
- Know how to create, update, read and delete the objects using REST APIs.
Enterprise Product Catalog (EPC):
- An Enterprise Product Catalog (EPC) is a centralized repository that stores information about the products and services offered by an organization.
- It acts as a single source of truth for all product-related data, allowing different business units and systems within an organization to access, manage, and share product information efficiently.
- The EPC can be used by various departments, including sales, marketing, e-commerce, supply chain, and more.
REST APIs:
- REST (Representational State Transfer) is an architectural style used to design networked applications.
- RESTful APIs (Application Programming Interfaces) are web APIs that adhere to the principles of REST.
Working with Rest API :
- Rest APIs allow different software systems to communicate and interact with each other over the internet using standard HTTP methods (GET, POST, PUT, DELETE) to perform actions on resources (e.g., products, orders, customers).
- Regarding "Enterprise Product Catalog (EPC) REST APIs," it's possible that specific organizations or software providers have implemented custom APIs for their product catalogs based on REST principles.
Each organization may design their API based on their specific needs and requirements. Therefore, the details of these APIs could vary significantly from one implementation to another.
Using the REST APIs, you can create, read, update, and delete different objects.
To know more about the product related Rest API click on any of the following:
1. Product2
2. Product Version
3. Product Child
4. Picklist
5. Picklist Version
6. Picklist Item
7. Promotion
8. Promotion Item
The REST APIs related to the Product object:
- Create Product Objects:
- Endpoint: POST /v2/epc/products
- Remote Method:createProduct2
- REST Handler:APIProductRestHandler
- Description: Create products in the Vlocity Product Console by specifying the product details in the request body.
- Retrieve Product Details:
- Endpoint: GET v2/epc/products/product_ID
- Remote Method: readEntity
- Rest Handler: APIProductRestHandler
- Description: Retrieve the details of an individual product by specifying its ID in the resource URI.
- Update Products:
- Endpoint: PUT /v2/epc/products
- Remote Method: updateProduct2
- REST Handler: APIProductRestHandler
- Description: Update the fields of a product by specifying its ID and the fields to update in the request body.
- Delete Product Objects:
- Endpoint: DEL /v2/epc/products/{product-ID}
- Remote Method: deleteProduct2
- REST Handler:APIProductRestHandler
- Description: Delete products in the Vlocity Product Console by specifying their IDs in the request body.
The REST APIs related to the Product Version object:
- Create Versions of Products
- Endpoint: POST /v2/epc/products/{product-ID}/versions
- Remote Method: createVersionProduct2
- REST Handler: APIProductVersionRestHandler
- Description: Use the "Create Versions of Products" API to create new versions of a specific product in the Vlocity Product Console.
- Retrieve the Versions of Products
- Endpoint: GET /v2/epc/products/{product-ID}/versions
- Remote Method: readProduct2
- REST Handler: APIProductVersionRestHandler
- Description: To retrieve the versions of a specific product, use the "Retrieve the Versions of Products" API.
The REST APIs related to the Product Child object:
- Create Product Child Items
- Endpoint: POST /v2/epc/productchilditems
- Remote Method: createPCI
- REST Handler: APIProductChildItemRestHandler
- Description: Add new Product Child Items (PCIs) to associate them with a bundle of products or services.
- Retrieve Product Child Item Details
- Endpoint: GET v2/epc/productchilditems/{product_child_item_ID}
- Remote Method: readPCI
- REST Handler: APIProductChildItemRestHandler
- Description: Get the details of a specific Product Child Item by specifying its ID.
- Update Product Child Items
- Endpoint: PUT /v2/epc/productchilditems/
- Remote Method: updatePCI
- REST Handler: APIProductChildItemRestHandler
- Description: Update the fields of an existing Product Child Item (PCI) by specifying its ID and providing the fields to be updated in the request body.
- Delete Product Child Items
- Endpoint: DEL v2/epc/productchilditems/{productchilditem-ID}
- Remote Method: deletePCI
- REST Handler: APIProductChildItemRestHandler
- Description: Remove Product Child Items (PCIs) associated with a bundle of products or services.
The REST APIs related to the Picklist object:
- Create Picklists:
- Endpoint: POST /v2/epc/picklists
- Remote Method: createPicklist
- REST Handler: APIPicklistRestHandler
- Description: Create picklists in Vlocity Product Console by specifying them in the request body.
- Retrieve Picklist Details
- Endpoint: GET v2/epc/picklists/{picklist_ID}
- Remote Method: readPicklist
- REST Handler: APIPicklistRestHandler
- Description: Retrieve the details of an individual picklist by specifying its ID in the resource URI.
- Update Picklists
- Endpoint: PUT /v2/epc/picklists
- Remote Method: updatePicklist
- REST Handler: APIPicklistRestHandler
- Description: Update a picklist by specifying its ID and the fields to update in the request body.
- Delete Picklists
- Endpoint: DEL /v2/epc/picklists/{picklist_ID}
- Remote Method: deletePicklist
- REST Handler: APIPicklistRestHandler
- Description: Delete picklists in Vlocity Product Console by specifying them in the URI.
The REST APIs related to the Picklist Version object:
- Create Versions of Picklists
- Endpoint: POST /v2/epc/picklists/{picklist-ID}/versions
- Remote Method: createVersionPicklist
- REST Handler: APIPicklistVersionRestHandler
- Description: Create versions of picklists in Vlocity Product Console by specifying the ID of the picklist and the version label in the request body.
- Retrieve the Versions of Picklists
- Endpoint: GET /v2/epc/picklists/{picklist-ID}/versions
- Remote Method: readPicklist
- REST Handler: APIPicklistVersionRestHandler
- Description: Retrieve the versions of picklists using REST APIs by specifying the ID of the picklist in the resource URI.
The REST APIs related to the Picklist Items object:
- Create Picklist Items
- Endpoint: POST /v2/epc/picklists/{picklist_ID}/items
- Remote Method: createPicklistValue
- REST Handler: APIPicklistItemRestHandler
- Description: Create picklist items in Vlocity Product Console by specifying them in the request body.
- Retrieve Details of Items in a Picklist
- Endpoint: GET v2/epc/picklists/{picklist_ID}/items
- Remote Method: readPicklistValue
- REST Handler: APIPicklistItemRestHandler
- Description: Retrieve the details of items in a picklist by specifying its ID in the resource URI.
- Update Picklist Items
- Endpoint: PUT /v2/epc/picklists/{picklist_ID}/items
- Remote Method: updatePicklistItem
- REST Handler: APIPicklistItemRestHandler
- Description: Update items in a picklist by specifying the ID of the picklist in the URI. You must also specify the ID of the item and the fields that you want to update in the request body.
- Delete Picklist Items
- Endpoint: DEL/v2/epc/picklists/{picklist_ID}/items/{item_ID}
- Remote Method: deletePicklistValue
- REST Handler: APIPicklistItemRestHandler
- Description: Delete picklist items in Vlocity Product Console by specifying them in the URI.
The REST APIs related to the Promotion object:
- Create Promotions
- Endpoint: POST /v2/epc/promotions
- Remote Method: addPromotion
- REST Handler: APIPromotionRestHandler
- Description: Create promotions in Vlocity Product Console by specifying them in the request body.
- Retrieve Promotion Details
- Endpoint: GET v2/epc/promotions/{promotions_ID}
- Remote Method: readPromotion
- REST Handler: APIPromotionRestHandler
- Description: Retrieve the details of an individual promotion by specifying its ID in the resource URI.
- Update Promotions
- Endpoint: PUT /v2/epc/promotions
- Remote Method: updatePromotion
- REST Handler: APIPromotionRestHandler
- Description: Update the fields of a promotion by specifying its ID and the fields to update in the request body.
- Delete Promotions
- Endpoint: DEL /v2/epc/promotions/{promotions-id}
- Remote Method: deletePromotion
- REST Handler: APIPromotionRestHandler
- Description: Delete promotions in Vlocity Product Console by specifying them in the URI.
The REST APIs related to the Promotion Items object:
- Create Promotion Items
- Endpoint: POST /v2/epc/promotions/items
- Remote Method: addPromotionItem
- REST Handler: APIPromotionItemRestHandler
- Description: Create promotion items in Vlocity Product Console by specifying them in the request body.
- Retrieve Details of Items in a Promotion
- Endpoint: GET v2/epc/promotions/{promotion_ID}/items/{item_ID}
- Remote Method: readPromotionItem
- REST Handler: APIPromotionItemRestHandler
- Description: Retrieve the details of items in a promotion by specifying its ID in the resource URI.
- Update Promotion Items
- Endpoint: PUT /v2/epc/promotions/{promotion-ID}/items
- Remote Method: updatePromotionItem
- REST Handler: APIPromotionItemRestHandler
- Description: Update items in a promotion by specifying the ID of the promotion in the URI. You must also specify the ID of item and the fields that you want to update in the request body.
- Delete Promotion Items
- Endpoint: DEL /v2/epc/promotions/{promotion_ID}/items/{item_ID}
- Remote Method: deletePromotionItem
- REST Handler: APIPromotionItemRestHandler
- Description: Delete promotion items in Vlocity Product Console by specifying them in the URI.