GET v1/customers/{id}/price-list/items/{itemId}
Gets price list item associated with the specified customer and item id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Provide customer id to get price for |
integer |
Required |
itemId |
Provide item id to get price for |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerPriceListName | Description | Type | Additional information |
---|---|---|---|
Id |
Item Id |
integer |
None. |
Name |
Item Name |
string |
None. |
ItemType |
Item Type |
IdNamePair |
None. |
Price |
Item Price |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "name": "sample string 2", "itemType": { "id": 1, "name": "sample string 2" }, "price": 3.0 }
application/xml, text/xml
Sample:
<CustomerPriceList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models.CRM"> <Id>1</Id> <ItemType xmlns:d2p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models"> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField> </ItemType> <Name>sample string 2</Name> <Price>3</Price> </CustomerPriceList>