GET v1/core/channels/{chnId}/products/{prdId}/prices/{curr}
Gets the pricing for a specific product in this channel
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| chnId | the channel Id |
Define this parameter in the request URI. |
| prdId | the product id |
Define this parameter in the request URI. |
| curr | No documentation available. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"Success": true,
"Data": [
{
"ProductId": 1,
"Currency": "sample string 2",
"Amount": 3.0,
"BillingInterval": "monthly|yearly"
},
{
"ProductId": 1,
"Currency": "sample string 2",
"Amount": 3.0,
"BillingInterval": "monthly|yearly"
},
{
"ProductId": 1,
"Currency": "sample string 2",
"Amount": 3.0,
"BillingInterval": "monthly|yearly"
}
],
"ErrorCode": 2,
"ErrorDescription": "sample string 3",
"Meta": "sample string 4"
}
text/javascript
Sample:
{"Success":true,"Data":[{"ProductId":1,"Currency":"sample string 2","Amount":3.0,"BillingInterval":0},{"ProductId":1,"Currency":"sample string 2","Amount":3.0,"BillingInterval":0},{"ProductId":1,"Currency":"sample string 2","Amount":3.0,"BillingInterval":0}],"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}
application/xml, text/xml
Sample:
<PBNBReturnOfArrayOfPriceCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
<Data>
<Price>
<Amount>3</Amount>
<BillingInterval>monthly|yearly</BillingInterval>
<Currency>sample string 2</Currency>
<ProductId>1</ProductId>
</Price>
<Price>
<Amount>3</Amount>
<BillingInterval>monthly|yearly</BillingInterval>
<Currency>sample string 2</Currency>
<ProductId>1</ProductId>
</Price>
<Price>
<Amount>3</Amount>
<BillingInterval>monthly|yearly</BillingInterval>
<Currency>sample string 2</Currency>
<ProductId>1</ProductId>
</Price>
</Data>
<ErrorCode>2</ErrorCode>
<ErrorDescription>sample string 3</ErrorDescription>
<Meta>sample string 4</Meta>
<Success>true</Success>
</PBNBReturnOfArrayOfPriceCA1DLPoZ>
application/bson
Sample:
w Success Data 0 W ProductId Currency sample string 2 Amount @BillingInterval 1 W ProductId Currency sample string 2 Amount @BillingInterval 2 W ProductId Currency sample string 2 Amount @BillingInterval ErrorCode ErrorDescription sample string 3 Meta sample string 4