Create Product

Overview

In order to create a new order from the API 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

Endpoint

Example for such endpoint for TT server is:

https://tt.api.sellercloud.com/rest/api/Products/

For your server endpoint will be:

​https://{your_server_id}.api.sellercloud.com/rest/api/Products/

Request

  • Method Type: HttpPost
  • Authorization: Use Bearer Token + token received from token authentication
  • Header info: Content-Type: application/json
  • Parameters: properties of the new product
ParameterData TypeDescriptionIs Required
CompanyIdintInformation about the company.Yes
ProductNamestringThe name of the new productYes
ProductSKUstringThe SKU of the new productYes
ProductTypeNamestringThe Type Name of the new productYes
PurchaserIdintThe ID of the new product’s purchaserYes – Only if client setting ‘Require SiteCost and Buyer/Purchaser while creating product’ is enabled
SiteCostdecimalThe site cost of the new productYes – Only if client setting ‘Require SiteCost and Buyer/Purchaser while creating product’ is enabled
DefaultPricedecimalThe default price of the new productYes – Only if client setting ‘Require SiteCost and Buyer/Purchaser while creating product’ and ‘Require SiteCost and Buyer/Purchaser while creating product’ are enabled
ManufacturerIdintThe Manufacturer ID of the new productYes – Only if client setting ‘Require Manufacturer when creating Product’ is enabled
AutoAssignUPCboolWhether the new product should have Auto Assign UPCNo
ProductNotesstringNotes for the new productNo
UPCstringProduct UPCNo

Response

  • If user is authenticated and provides a valid ID of the new product, then response will be Status Code 200 => OK and order metadata in JSON format
  • If user is not authenticated, then response will be Status Code 401 => Not Valid Token
  • On server response => Status Code 500 => Internal Server Error

Was this article helpful?

Next
Create New RMA