Read Product PriceBook
Retrieves the Pricebook details of Product object that has been previously created.
Parameters
Path Params | |
---|---|
yourCompany: | string |
Query Params | |
---|---|
filter: | string
|
page: | int |
pageSize: | int |
Header Params | |
---|---|
Accept: | string |
Query Auth | |
---|---|
key: | string |
Header Auth | |
---|---|
apiKey: | string |
Sample Code
{
"ProductPricebooks": {
"ProductPricebook": [{
"ProductCode": "ProductCode1",
"PriceBook": "Retail PriceBook",
"Price": "20.00",
"CreatedTime": "01-24-2020 05:19:56",
"CreatedTimeUTC": "01-24-2020 15:01:35",
"ModifiedTime": "01-24-2020 05:19:56",
"ModifiedTimeUTC": "01-24-2020 15:05:56"
},
{
"ProductCode": "ProductCode1",
"PriceBook": "Specials PriceBook",
"Price": "30.00",
"CreatedTime": "01-24-2020 05:19:56",
"CreatedTimeUTC": "01-24-2020 15:01:35",
"ModifiedTime": "01-24-2020 05:19:56",
"ModifiedTimeUTC": "01-24-2020 15:05:56"
},
{
"ProductCode": "ProductCode1",
"PriceBook": "Volume PriceBook",
"Price": "1:20.00;11:30.00;15:60.00",
"CreatedTime": "01-24-2020 05:19:56",
"CreatedTimeUTC": "01-24-2020 15:01:35",
"ModifiedTime": "01-24-2020 05:19:56",
"ModifiedTimeUTC": "01-24-2020 15:05:56"
}
]
},
"TotalRecords": "4",
"CurrentPage": "1",
"TotalPages": "1",
"PageSize": "50"
}
<ProductPricebooks>
<ProductPricebook>
<ProductCode>ProductCode1</ProductCode>
<PriceBook>Retail PriceBook</PriceBook>
<Price>20.00</Price>
<CreatedTime>01-24-2020 05:19:56</CreatedTime>
<CreatedTimeUTC>01-24-2020 15:01:35</CreatedTimeUTC>
<ModifiedTime>01-24-2020 05:19:56</ModifiedTime>
<ModifiedTimeUTC>01-24-2020 15:05:56</ModifiedTimeUTC>
</ProductPricebook>
<ProductPricebook>
<ProductCode>ProductCode1</ProductCode>
<PriceBook>Specials PriceBook</PriceBook>
<Price>30.00</Price>
<CreatedTime>01-24-2020 05:19:56</CreatedTime>
<CreatedTimeUTC>01-24-2020 15:01:35</CreatedTimeUTC>
<ModifiedTime>01-24-2020 05:19:56</ModifiedTime>
<ModifiedTimeUTC>01-24-2020 15:05:56</ModifiedTimeUTC>
</ProductPricebook>
<ProductPricebook>
<ProductCode>ProductCode1</ProductCode>
<PriceBook>Volume PriceBook</PriceBook>
<Price>1:20.00;11:30.00;15:60.00</Price>
<CreatedTime>01-24-2020 05:19:56</CreatedTime>
<CreatedTimeUTC>01-24-2020 15:01:35</CreatedTimeUTC>
<ModifiedTime>01-24-2020 05:19:56</ModifiedTime>
<ModifiedTimeUTC>01-24-2020 15:05:56</ModifiedTimeUTC>
</ProductPricebook>
<TotalRecords>3</TotalRecords>
<CurrentPage>1</CurrentPage>
<TotalPages>1</TotalPages>
<PageSize>50</PageSize>
</ProductPricebooks>
{
"ProductPricebooks": {
"ProductPricebook": [{
"ProductCode": "ProductCode1",
"PriceBook": "Retail PriceBook",
"Price": "20.00",
"CreatedTime": "01-24-2020 05:19:56",
"CreatedTimeUTC": "01-24-2020 15:01:35",
"ModifiedTime": "01-24-2020 05:19:56",
"ModifiedTimeUTC": "01-24-2020 15:05:56",
"PricebookMatrixItems": {
"PricebookMatrixItem": [{
"PricebookMatrixSKUCode": "563245",
"PricebookMatrixPrice": "20.00"
},
{
"PricebookMatrixSKUCode": "563246",
"PricebookMatrixPrice": "20.00"
}
]
}
},
{
"ProductCode": "ProductCode1",
"PriceBook": "Specials PriceBook",
"Price": "30.00",
"CreatedTime": "01-24-2020 05:19:56",
"CreatedTimeUTC": "01-24-2020 15:01:35",
"ModifiedTime": "01-24-2020 05:19:56",
"ModifiedTimeUTC": "01-24-2020 15:05:56",
"PricebookMatrixItems": {
"PricebookMatrixItem": [{
"PricebookMatrixSKUCode": "563245",
"PricebookMatrixPrice": "30.00"
},
{
"PricebookMatrixSKUCode": "563246",
"PricebookMatrixPrice": "30.00"
}
]
}
},
{
"ProductCode": "ProductCode1",
"PriceBook": "Volume PriceBook",
"Price": "1:20.00;11:30.00;15:60.00",
"CreatedTime": "01-24-2020 05:19:56",
"CreatedTimeUTC": "01-24-2020 15:01:35",
"ModifiedTime": "01-24-2020 05:19:56",
"ModifiedTimeUTC": "01-24-2020 15:05:56",
"PricebookMatrixItems": {
"PricebookMatrixItem": [{
"PricebookMatrixSKUCode": "563245",
"PricebookMatrixPrice": "1:20.00;11:30.00;15:60.00"
},
{
"PricebookMatrixSKUCode": "563246",
"PricebookMatrixPrice": "1:20.00;11:30.00;15:60.00"
}
]
}
}
]
},
"TotalRecords": "3",
"CurrentPage": "1",
"TotalPages": "1",
"PageSize": "50"
}
<ProductPricebooks>
<ProductPricebook>
<ProductCode>ProductCode1</ProductCode>
<PriceBook>Retail PriceBook</PriceBook>
<Price>20.00</Price>
<CreatedTime>01-24-2020 05:19:56</CreatedTime>
<CreatedTimeUTC>01-24-2020 15:01:35</CreatedTimeUTC>
<ModifiedTime>01-24-2020 05:19:56</ModifiedTime>
<ModifiedTimeUTC>01-24-2020 15:05:56</ModifiedTimeUTC>
<PricebookMatrixItems>
<PricebookMatrixItem>
<PricebookMatrixSKUCode>563245</PricebookMatrixSKUCode>
<PricebookMatrixPrice>20.00</PricebookMatrixPrice>
</PricebookMatrixItem>
<PricebookMatrixItem>
<PricebookMatrixSKUCode>563246</PricebookMatrixSKUCode>
<PricebookMatrixPrice>20.00</PricebookMatrixPrice>
</PricebookMatrixItem>
</PricebookMatrixItems>
</ProductPricebook>
<ProductPricebook>
<ProductCode>ProductCode1</ProductCode>
<PriceBook>Specials PriceBook</PriceBook>
<Price>30.00</Price>
<CreatedTime>01-24-2020 05:19:56</CreatedTime>
<CreatedTimeUTC>01-24-2020 15:01:35</CreatedTimeUTC>
<ModifiedTime>01-24-2020 05:19:56</ModifiedTime>
<ModifiedTimeUTC>01-24-2020 15:05:56</ModifiedTimeUTC>
<PricebookMatrixItems>
<PricebookMatrixItem>
<PricebookMatrixSKUCode>563245</PricebookMatrixSKUCode>
<PricebookMatrixPrice>30.00</PricebookMatrixPrice>
</PricebookMatrixItem>
<PricebookMatrixItem>
<PricebookMatrixSKUCode>563246</PricebookMatrixSKUCode>
<PricebookMatrixPrice>30.00</PricebookMatrixPrice>
</PricebookMatrixItem>
</PricebookMatrixItems>
</ProductPricebook>
<ProductPricebook>
<ProductCode>ProductCode1</ProductCode>
<PriceBook>Volume PriceBook</PriceBook>
<Price>1:20.00;11:30.00;15:60.00</Price>
<CreatedTime>01-24-2020 05:19:56</CreatedTime>
<CreatedTimeUTC>01-24-2020 15:01:35</CreatedTimeUTC>
<ModifiedTime>01-24-2020 05:19:56</ModifiedTime>
<ModifiedTimeUTC>01-24-2020 15:05:56</ModifiedTimeUTC>
<PricebookMatrixItems>
<PricebookMatrixItem>
<PricebookMatrixSKUCode>563245</PricebookMatrixSKUCode>
<PricebookMatrixPrice>1:20.00;11:30.00;15:60.00</PricebookMatrixPrice>
</PricebookMatrixItem>
<PricebookMatrixItem>
<PricebookMatrixSKUCode>563246</PricebookMatrixSKUCode>
<PricebookMatrixPrice>1:20.00;11:30.00;15:60.00</PricebookMatrixPrice>
</PricebookMatrixItem>
</PricebookMatrixItems>
</ProductPricebook>
<TotalRecords>3</TotalRecords>
<CurrentPage>1</CurrentPage>
<TotalPages>1</TotalPages>
<PageSize>50</PageSize>
</ProductPricebooks>
WADL
<?xml version="1.0" encoding="utf-8"?>
<application>
<resources base="https://{yourCompany}.agiliron.net/agiliron/api-40/">
<resource path="ProductsPriceBook">
<method name="GET">
<resource path="{ProductCode}">
<request>
<param name="key" type="xsd:string" style="query" required="true"/>
</request>
<response status="200">
<representation mediaType="application/xml" element="yn:ResultSet"/>
</response>
<response status="400">
<representation mediaType="application/xml" element="ya:Error"/>
</response>
</method>
</resource>
</resources>
</application>
Updated about 2 hours ago