v1

latestOpenAPI 3.1.02026-08-0425501.2 MB

Create Product

post/?createproduct

Request body

appidstring required

Merchant APP ID (Alphanumeric - Length of 32 chars and special chars $@%#)

appkeystring required

Merchant APP KEY (Alphanumeric - Length of 32 chars and special chars $@%#)

epistring required

EPI is an end point identifier, Identify the device on valor infrastructure, it's a 10 digit number starts with 2

txn_typestring required

Transaction type should be 'addProduct'

product_codestring required

SKU number is used to identify and track products

item_namestring required

Product Name must not exceed 50 alphanumeric characters.

descriptionstring required

Description must not exceed 50 alphanumeric characters.

quantityinteger required

Qty for the product

unit_costnumber double required

Maximum amount $99,999.99

taxablestring required

Add tax for the product (Yes, No)

inventorystring

Record and monitor the amount of products has available (Yes, No)

is_activestring required

Is active should be set 0 or 1

precedenceinteger

Precedence should be allowed only numeric value

categorystring required

Category must not exceed 40 alphanumeric characters.

selected_groupstring

Sample value: {"0":"FROZON ITEM","1":"FOOD ITEM"}

Response

200

object required