Update Multiple Custom Columns

Updated 2 weeks ago ​by nussi

Overview

Endpoint is used for updating value of multiple user defined product columns. In order to do that you must:

  • Be authenticated user

For information on how you can authenticate, see: Authentication

Endpoint

NOTE: Endpoint "PUT /api/Products/{productID}/CustomColumnsMultiple" is deprecated as it does not support special characters in the productID. Use the new endpoint presented in this article.

Example for such endpoint for TT server is https://tt.api.sellercloud.com/api/Products/CustomColumns

For your server endpoint will be:

https://{your_server_id}.api.sellercloud.com/api/Products/CustomColumns

Request

  • Method Type: HttpPut
  • Authorization: Use Bearer Token + token received from token authentication
  • Header info: Content-Type: application/json
  • Body data:

    Parameter

    Data Type

    Description

    Is Required

    ProductID

    integer

    ID of existing product

    Yes

    model

    List<Columns>

    List of custom columns to update

    Yes

    Column.ColumnName

    string

    Name of existing column

    Yes

    Column.Value

    string

    Column value

    Yes

Response

  • If server error appears, then response will be with status code 500 => Internal Server Error
  • If updating value of custom columns is successful, status code will be OK 200


How did we do?