GetRelatedProducts

From Wiki

(Difference between revisions)
Jump to: navigation, search
George.Fletcher (Talk | contribs)
George.Fletcher (Talk | contribs)
Line 15: Line 15:
| iProductId
| iProductId
| int
| int
-
| The current product ID.
+
| The current product ID
| 0
| 0
| 1
| 1
Line 22: Line 22:
| iBrandId
| iBrandId
| int
| int
-
| The brand to relate to.
+
| The brand to relate to
| 0
| 0
| 1
| 1
Line 29: Line 29:
| iCategoryId
| iCategoryId
| int
| int
-
| The category to relate to.
+
| The category to relate to
| 0
| 0
| 1
| 1
Line 36: Line 36:
| iAdult
| iAdult
| int
| int
-
| Allow adult content.
+
| Allow adult content
| 0
| 0
| 1
| 1
Line 43: Line 43:
| iLimit
| iLimit
| int
| int
-
| The number of products to return.
+
| The number of products to return
| 0
| 0
| 1
| 1
Line 50: Line 50:
| sColumnToReturn
| sColumnToReturn
| string
| string
-
| Columns to return with each product.
+
| Columns to return with each product
| 0
| 0
| 1
| 1
Line 63: Line 63:
! Type
! Type
! Description
! Description
-
!align="centre" | Min Occurs
+
! Min Occurs
! Max Occurs
! Max Occurs
|-
|-
Line 69: Line 69:
| oProduct
| oProduct
| Product
| Product
-
| Objects of any returned product.
+
| Objects of any returned product
| 0
| 0
| Unlimited
| Unlimited
Line 76: Line 76:
| iTotalCount
| iTotalCount
| int
| int
-
| Total count of products found.
+
| Total count of products found
| 0
| 0
| 1
| 1
|}
|}

Revision as of 15:43, 17 November 2008

getRelatedProducts

This ProductServe function will return the related products based on conditions given.

Parameters

Required Name Type Description Min Occurs Max Occurs
No iProductId int The current product ID 0 1
No iBrandId int The brand to relate to 0 1
No iCategoryId int The category to relate to 0 1
No iAdult int Allow adult content 0 1
No iLimit int The number of products to return 0 1
No sColumnToReturn string Columns to return with each product 0 1


Response Parameters

Required Name Type Description Min Occurs Max Occurs
N/A oProduct Product Objects of any returned product 0 Unlimited
N/A iTotalCount int Total count of products found 0 1

Privacy

Due to new European legislation regarding how websites store information about you, AWIN is updating its privacy policy. You can see the new version of our policy here. If you would like to see the information we capture on this website, please click here for further details. In order to accept cookies on this site please click the 'I ACCEPT' button