POST api/v1/products/retailer
Request Information
URI Parameters
None.
Body Parameters
ProductsForRetailerRequestName | Description | Type | Additional information |
---|---|---|---|
ApiKey | globally unique identifier |
Required |
|
ApplicationVersion | integer |
Required |
|
Udid | string |
Required |
|
UserID | globally unique identifier |
Required |
|
RetailerId | globally unique identifier |
Required |
|
Top | integer |
Required |
|
ZoneID | integer |
Required |
|
Skip | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ApiKey": "62a3afae-9d2d-48cb-8d8f-53354b748043", "ApplicationVersion": 2, "Udid": "sample string 3", "UserID": "12d38125-090c-487d-bbc2-ee89ab0e7444", "RetailerId": "947a7836-2d72-44dc-a00e-ec6010d821ea", "Top": 6, "ZoneID": 7, "Skip": 1 }
application/xml, text/xml
Sample:
<ProductsForRetailerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models.Products.v1"> <ApiKey>62a3afae-9d2d-48cb-8d8f-53354b748043</ApiKey> <ApplicationVersion>2</ApplicationVersion> <RetailerId>947a7836-2d72-44dc-a00e-ec6010d821ea</RetailerId> <Skip>1</Skip> <Top>6</Top> <Udid>sample string 3</Udid> <UserID>12d38125-090c-487d-bbc2-ee89ab0e7444</UserID> <ZoneID>7</ZoneID> </ProductsForRetailerRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of ProductDtoName | Description | Type | Additional information |
---|---|---|---|
ProductType | ProductType |
None. |
|
Title | string |
None. |
|
Description | string |
None. |
|
ImageUrl | string |
None. |
|
Price | decimal number |
None. |
|
DiscountedPrice | decimal number |
None. |
|
WebshopUrl | string |
None. |
|
RetailerID | globally unique identifier |
None. |
|
RetailerImageUrl | string |
None. |
|
RetailerName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ProductType": 1, "Title": "sample string 1", "Description": "sample string 2", "ImageUrl": "sample string 3", "Price": 1.1, "DiscountedPrice": 1.1, "WebshopUrl": "sample string 4", "RetailerID": "e55ddb06-7a08-4928-aa65-45127445cb48", "RetailerImageUrl": "sample string 6", "RetailerName": "sample string 7" }, { "ProductType": 1, "Title": "sample string 1", "Description": "sample string 2", "ImageUrl": "sample string 3", "Price": 1.1, "DiscountedPrice": 1.1, "WebshopUrl": "sample string 4", "RetailerID": "e55ddb06-7a08-4928-aa65-45127445cb48", "RetailerImageUrl": "sample string 6", "RetailerName": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfProductDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models.Products"> <ProductDto> <Description>sample string 2</Description> <DiscountedPrice>1.1</DiscountedPrice> <ImageUrl>sample string 3</ImageUrl> <Price>1.1</Price> <ProductType>Interactive</ProductType> <RetailerID>e55ddb06-7a08-4928-aa65-45127445cb48</RetailerID> <RetailerImageUrl>sample string 6</RetailerImageUrl> <RetailerName>sample string 7</RetailerName> <Title>sample string 1</Title> <WebshopUrl>sample string 4</WebshopUrl> </ProductDto> <ProductDto> <Description>sample string 2</Description> <DiscountedPrice>1.1</DiscountedPrice> <ImageUrl>sample string 3</ImageUrl> <Price>1.1</Price> <ProductType>Interactive</ProductType> <RetailerID>e55ddb06-7a08-4928-aa65-45127445cb48</RetailerID> <RetailerImageUrl>sample string 6</RetailerImageUrl> <RetailerName>sample string 7</RetailerName> <Title>sample string 1</Title> <WebshopUrl>sample string 4</WebshopUrl> </ProductDto> </ArrayOfProductDto>