Update Multiple Custom Columns for Order - Sellercloud API Docs
Update Multiple Custom Columns for Order
Overview
This endpoint can be used to get the values of multiple custom columns of an order.
In order to consume the endpoint, you must:
- Be an authenticated user
For information on how you can authenticate, see: Authentication
As soon as you do the authentication and receive a valid token, it needs to be passed to the call.
Endpoint
https://{your_server_id}.api.sellercloud.com/rest/api/Orders/{orderID}/CustomColumns/Multiple
Request
Method Type:
- HttpPut
Authorization:
- Use Bearer Token + token received from token authentication
Header info:
- Content-Type: application/json
Request Body
A list of custom columns has to be provided in the request where each custom column should have the below fields:
| Parameter | Data Type | Description | Required |
|---|---|---|---|
| ColumnName | string | Custom column name | Yes |
| Value | object | Custom column value | Yes |
Response
- If the user is authenticated and the request is successful, then the response will be Status Code 200 => OK
- If the user is not authenticated, then the response will be Status Code 401 => Not Valid Token
- In case of an error, the response will be Status Code 500 => Internal Server Error
- In case of an incorrect request, the response will be with status code 400 Bad Request.