GET v1/Shops/{shopId}/PaymentTerms

Get a list with all available customer PaymentTerms for the given shop.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shopId

integer

Required.

Body Parameters

None.

Response Information

Resource Description

A list of Payment terms.

Collection of PaymentTerm
NameDescriptionTypeAdditional 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.

ForCustomer

Gets or sets a value indicating whether this payment term is available for customers.

boolean

None.

ForSupplier

Gets or sets a value indicating whether this payment term is available for suppliers.

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "DaysToPay": 1,
    "ForCustomer": true,
    "ForSupplier": true
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "DaysToPay": 1,
    "ForCustomer": true,
    "ForSupplier": true
  }
]

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>
    <ForCustomer>true</ForCustomer>
    <ForSupplier>true</ForSupplier>
  </PaymentTerm>
  <PaymentTerm>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <DaysToPay>1</DaysToPay>
    <ForCustomer>true</ForCustomer>
    <ForSupplier>true</ForSupplier>
  </PaymentTerm>
</ArrayOfPaymentTerm>