Add Vendor Product

Overview

In order to add a new vendor product, you can consume the endpoint presented in this article. In order to consume it, 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 passed to the service call.

Endpoint

POST https://tt.api.sellercloud.com/rest/api/Vendors/{vendorId}/products​​

For your server endpoint will be:

POST https://{your_server_id}.api.sellercloud.com/rest/api/Vendors/{vendorId}/products

Request

Information about expected request parameters can be found on swagger UI https://tt/api.sellercloud.com/rest/swagger.

  • Method Type: HttpPst
  • Authorization: Use Bearer Token (where ‘Token’ is the token received from token authentication)
  • Header info: Content-Type: application/json
  • Request Body:

Parameter Data Type Description Is Required
ProductSKU string ID if existing product true
Price decimal Product site price false
PricePerCase decimal Product price per case false
QtyPerCase integer Product quantity per case false
IsAvailable bool Indicates if product is available false
Qty integer Product quantity false
 

VendorSKU

 

string

 

Vendor Product ID

false
Notes string Notes regarding the product false
IsAvailable bool Availability with the vendor for the product false

Response

  • If user is authenticated and adding the vendor products is successful, then response will be Status Code 200 => OK
  • If user is not authenticated, then response will be Status Code 401 => Not Valid Token
  • In case of error, response will be Status Code 500 => Internal Server Error

Was this article helpful?