Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /SetDefaultPaymentMethodIdForNewOrder

Allows 150 calls per minute

Response: Void



Set the default payment method for new direct orders

Parameters

NameTypeDescription
paymentMethodGuidId of the payment method

Example Request

The following request format is required for this method.

Get

Endpoint URL

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

GET https://eu-ext.linnworks.net/api/Orders/SetDefaultPaymentMethodIdForNewOrder?paymentMethod=18bec161-ed1f-44f1-a365-b19c4861509c

Headers

Connection: keep-alive
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Post

Endpoint URL

POST https://eu-ext.linnworks.net/api/Orders/SetDefaultPaymentMethodIdForNewOrder

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.

paymentMethod=18bec161-ed1f-44f1-a365-b19c4861509c

Response

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