Search

Index

Revindex Storefront

RelatedProduct

Last updated on 2023-01-27 3 mins. to read

RelatedProduct is the object relationship associating two related products together.

DeleteRelatedProduct

This service is used to delete a RelatedProduct object.

Request Parameters

Node Required Data Type Description
relatedProductID Yes Integer The object identifier.

 

Return Data

None


GetRelatedProduct

This service is used to query the RelatedProduct object.

Request Parameters

Node Required Data Type Description
relatedProductID Yes Integer The object identifier.

 

Return Data

Node Data Type Description
relatedProduct XML Container node.
  createDate DateTime Creation date.
  productID Integer Product object identifier in this relation.
  relatedProductID Integer The object identifier.
  relationProductID Integer The Product object identifier related to the productID.

 


GetRelatedProductsByProduct

This service is used to get all the RelatedProduct objects belonging to the product.

Request Parameters

Node Required Data Type Description
count No Boolean Specify if return data should include total number of records found.
productID Yes Integer The Product object identifier.
skip No Integer The number of records to skip over for paging purposes.
take No Integer The number of records to return for paging purposes.

 

Return Data

Node Data Type Description
totalCount Integer Number of records found.
relatedProducts XML Container node
  relatedProduct XML Zero or more relatedProduct nodes with same data structure as GetRelatedProduct service return data.

 


InsertRelatedProduct

This service is used to create a new RelatedProduct object.

Request Parameters

Node Required Data Type Description
productID Yes Integer The Product object identifier.
relationProductID Yes Integer The Product object identifier related to the Product.

Return Data

Same as GetRelatedProduct service return data.

Comments


Powered by Revindex Wiki