The ProductVariantOption is the association between the ProductVariant and the individual selectable options in a ProductVariantGroupOption.
DeleteProductVariantOption
This service is used to delete a ProductVariantOption object.
Request Parameters
| Node |
Required |
Data Type |
Description |
| productVariantOptionID |
Yes |
Integer |
The object identifier. |
Return Data
None
GetProductVariantOption
This service is used to query the ProductVariantOption object.
Request Parameters
| Node |
Required |
Data Type |
Description |
| productVariantOptionID |
Yes |
Integer |
The object identifier. |
Return Data
| Node |
Data Type |
Description |
| productVariantOption |
XML |
Container node. |
| createDate |
DateTime |
Creation date. |
| productVariantGroupOptionID |
Integer |
The reference ProductVariantGroupOption identifier. |
| productVariantID |
Integer |
The reference ProductVariant identifier. |
| productVariantOptionID |
Integer |
The object identifier. |
| updateDate |
DateTime |
Update date. |
GetProductVariantOptionsByProductVariant
This service is used to get all the ProductVariantOption objects belonging to the ProductVariant.
Request Parameters
| Node |
Required |
Data Type |
Description |
| count |
No |
Boolean |
Specify if return data should include total number of records found. |
| productVariantID |
Yes |
Integer |
The ProductVariant 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. |
| productVariantOptions |
XML |
Container node |
| productVariantOption |
XML |
Zero or more productVariantOption nodes with same data structure as GetProductVariantOption service return data. |
GetProductVariantOptionsByProductVariantGroupOption
This service is used to get all the ProductVariantOption objects associated with the ProductVariantGroupOption.
Request Parameters
| Node |
Required |
Data Type |
Description |
| count |
No |
Boolean |
Specify if return data should include total number of records found. |
| productVariantGroupOptionID |
Yes |
Integer |
The ProductVariantGroupOption 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. |
| productVariantOptions |
XML |
Container node |
| productVariantOption |
XML |
Zero or more productVariantOption nodes with same data structure as GetProductVariantOption service return data. |
InsertProductVariantOption
This service is used to create a new ProductVariantOption object.
Request Parameters
| Node |
Required |
Data Type |
Description |
| productVariantGroupOptionID |
Yes |
Integer |
The reference ProductVariantGroupOption identifier. |
| productVariantID |
Yes |
Integer |
The reference ProductVariant identifier. |
Return Data
Same as GetProductVariantOption service return data.