Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /SetPaymentMethods

Allows 150 calls per minute

Response: List<PaymentMethod>



Set the available payment methods

Parameters

NameTypeDescription
paymentMethodsPaymentMethod[]List of payment methods

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Orders/SetPaymentMethods

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

paymentMethods=[
  {
    "Name": "sample string 1",
    "CanDelete": true,
    "PaymentMethodId": "78181618-baf5-440d-ba5b-298721087a67"
  }
]

Response

This is an example of the response JSON. Results will vary depending on your data.

[
  {
    "Name": "sample string 1",
    "CanDelete": true,
    "PaymentMethodId": "d09c5b7f-920f-4290-bec1-192239923f91"
  }
]