Search

Index

Revindex Storefront

ProductPart

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

The ProductPart is used to indicate the product variant participating for sale in a bundled product.

DeleteProductPart

This service is used to delete a ProductPart object.

Request Parameters

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

 

Return Data

None


GetActiveProductPart

This service is used to query the ProductPart object.

Request Parameters

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

 

Return Data

Node Data Type Description
productPart XML Container node.
  createDate DateTime Creation date.
  defaultQuantity Integer The default quantity for the product part.
  displayOrder Integer Sort order for display.
  maxOrderQuantity Integer The maximum quantity that can be ordered in this bundle.
  minOrderQuantity Integer The minimum quantity that can be ordered in this bundle.
  modifierRule XML Rule Product part modifier.
  productComponentID Integer Reference the corresponding ProductComponent by its object identifier.
  selected Boolean Indicate if the product part is selected and participating in the bundle.
  showPrice Boolean Indicate if the price is displayed to the customer.
  showQuantity Boolean Indicate if the customer can override the quantity.
  updateDate DateTime Update date.

 


GetActiveProductPartsByProductComponent

This service is used to get all the ProductPart objects belonging to the ProductComponent.

Request Parameters

Node Required Data Type Description
count No Boolean Specify if return data should include total number of records found.
productComponentID Yes Integer The ProductComponent 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.
productParts XML Container node
  productPart XML Zero or more productPart nodes with same data structure as GetActiveProductPart service return data.

 


InsertProductPart

This service is used to create a new ProductPart object.

Request Parameters

Node Required Data Type Description
defaultQuantity Yes Integer Indicate the default quantity.
displayOrder Yes Integer Sort order for display.
maxOrderQuantity No Integer The maximum quantity that can be ordered in this bundle.
minOrderQuantity No Integer The minimum quantity that can be ordered in this bundle.
modifierRule No XML Rule The product part modifier rule.
productComponentID Yes Integer The reference ProductComponent identifier this ProductPart belongs to.
selected Yes Boolean Indicate if the product part is selected and participating in the bundle.
showPrice Yes Boolean Indicate if the price is displayed to the customer.
showQuantity Yes Boolean Indicate if the customer can override the quantity.

 

Return Data

Same as GetActiveProductPart service return data.

Comments


Powered by Revindex Wiki