Update Basic Catalog Info for Single Product

Updated 3 months ago ​by nussi

Overview

Endpoint is used for updating basic catalog info.

In order to do that, you must:

  • Be authenticated user

For information on how you can authenticate, see: Authentication

As soon as you do authentication and receive a valid token, it needs to be send in the next call. to the API.

Endpoint

Example for such endpoint for TT server is https://tt.api.sellercloud.com/rest/api/Catalog/BasicInfo

For your server endpoint will be:

https://{your_server_id}.api.sellercloud.com/rest/api/Catalog/BasicInfo

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

    string

    Product SKU

    Yes

    ProductName

    string

    Product Name

    No

    ShortDescription

    string

    Product short description

    No

    LongDescription

    string

    Product long description

    No

    SitePrice

    decimal

    Site price

    No

    ListPrice

    decimal

    List price

    No

    SiteCost

    decimal

    Site cost

    No

    IsActive

    bool

    Indicates if product is active. See https://help.sellercloud.com/article/c8ite28YJj-inactive-products

    No

Request Example

{
"ProductName": "test product name",
"ProductID": "test_sku",
"ShortDescription": "test short description",
"LongDescription": "test long description",
"SiteCost": 10.5,
"SitePrice": 5.5,
"ListPrice": 3.5
}

Response

  • If server error appears, then response will be with status code 500 => Internal Server Error
  • If catalog info is updated successful, response will be status code 200 => Ok


How did we do?