GET v1/Shops/{shopId}/PaymentTerms
Get a list with all available PaymentTerms for given shop.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| shopId | integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of Payment types.
Collection of PaymentTerm| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Gets or sets the Payment Type identifier. |
integer |
None. |
| Name |
Gets or sets the code. |
string |
None. |
| DaysToPay |
Gets or sets the days to pay. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"DaysToPay": 1
},
{
"Id": 1,
"Name": "sample string 2",
"DaysToPay": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfPaymentTerm xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PaymentTerm>
<Id>1</Id>
<Name>sample string 2</Name>
<DaysToPay>1</DaysToPay>
</PaymentTerm>
<PaymentTerm>
<Id>1</Id>
<Name>sample string 2</Name>
<DaysToPay>1</DaysToPay>
</PaymentTerm>
</ArrayOfPaymentTerm>