Related Products
Retrieves a list of products with optional limit and offset parameters.
The number of products to retrieve
The number of products to skip before starting to collect results
If set to 1, returns the total count of products
Bearer token for authentication.
Successfully retrieved the product list
Invalid query parameters
GET /backend/api/product-list HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got the complete product list</message>
</object>
Retrieves the details of a specific product by its ID.
ID of the product to retrieve details for
Product ID in query parameter
Bearer token for authentication.
Successfully retrieved the product details
Invalid product ID
Product not found
GET /backend/api/product-related-detail/{productId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>successfully got the details of given product id</message>
</object>
Updates the related products for a given product.
Bearer token for authentication.
ID of the product to update related products for
Array of related product IDs to associate with the given product
Successfully updated the related products
Invalid request body
Product not found
POST /backend/api/update-product-related HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 38
"productId=1&relatedProductId=[1]"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>successfully updated the related products</message>
</object>
Last updated