Register Sku
Description
This service registers a new SKU.
Request
Restrictions
This service requires an authenticated user.
Endpoint
POST https://<server-url>/api/v4/referencedata/skusParameters
touchpoint
Query / Header
The identifier for the touchpoint. Use Thalamus-Touchpoint for the header.
token
Query / Header
The authentication token for the API. Use Thalamus-Token for the header.
Content-Type
Header
Specifies the content type of the request body. Must be application/json.
Full URL Example
https://<server-url>/api/v4/referencedata/skus?touchpoint=test&token=...Request Body
The request body must contain the profile information, credentials, and any communication opt-ins for the new physical location.
name
String
A string representing the SKU name
numberOfUnits
Float
A decimal numerical Value for specifying the number of units in the SKU.
sellingQuantities
Integer
A integer numerical value for defining the quantities in which the SKU can be sold.
active
Boolean
A Boolean value indicating whether the SKU is active or not.
product
Product Object
Object to indicate the product code associated with the SKU
description
String
A string that represents the SKU description
codes
Object
Reference codes associated with the SKU. Opcional
description 1-40
String
A string that represents the SKU additional descriptions. Optionals
Product Object Fields
code
String
The primary identifier for login (e.g., email, username). Must match the corresponding principal field in the profile object.
JSON
Response
✅ Successful Response: 201 Created
201 CreatedThe SKU was successfully created. The response returns the new SKU data.
JSON
❌ Unsuccessful Response: 400 Bad Request
400 Bad RequestReturned if the request fails validation. See below for common error examples.
Scenario: Field Validation Error
JSON
Last updated
Was this helpful?
