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": "d157c7b3-99e0-4636-964d-96d7b3999a4c"
  }
]

Response

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

[
  {
    "Name": "sample string 1",
    "CanDelete": true,
    "PaymentMethodId": "801f3f4b-a68f-4aa4-bd67-3901e9067622"
  }
]