The following APIs can be used to create master data like customer, vendor and items in Infor WMS.
create customer
curl –location –request POST ‘https://mingle-ionapi.eu1.inforcloudsuite.com/LBZ32NZXZ3HP8SNE_TST/WM/wmwebservice_rest/
LBZ32NZXZ3HP8SNE_TST_ENTERPRISE/customers’ \
–header ‘Accept: application/json’ \
–header ‘Content-Type: application/json’ \
–header ‘Authorization: Bearer {access token}’ \
–data-raw ‘
{
“storerkey”: “CUS-24251”,
“company”: “CUS-24251 ABCD1234”,
“address1″:””,
“address2″:””,
“address3″:””,
“address4″:””,
“city”:””,
“state”:””,
“zip”:””,
“country”:””,
“type”: “2”,
“accountingentity”: “MADI COSMETICS”,
“adddate”: “2022-10-25T09:50:13.593Z”,
“description”: “NSTYLE”}
create Vendor
curl –location –request POST ‘https://mingle-ionapi.eu1.inforcloudsuite.com/LBZ32NZXZ3HP8SNE_TST/WM/wmwebservice_rest/
LBZ32NZXZ3HP8SNE_TST_ENTERPRISE/suppliers’ \
–header ‘Accept: application/json’ \
–header ‘Content-Type: application/json’ \
–header ‘Authorization: Bearer {access token}’ \
–data-raw ‘
{
“storerkey”: “MADI”,
“company”: “VEN-01707”,
“address1”: “”,
“address2”: “”,
“address3”: “”,
“address4”: “”,
“city”: “”,
“state”: “”,
“zip”: “”,
“country”: “”,
“type”: “5”,
“accountingentity”: “MADI COSMETICS”,
“adddate”: “2022-10-25T09:50:13.593Z”,
“description”: “NSTYLE”}
Create Items
curl –location –request POST ‘https://mingle-ionapi.eu1.inforcloudsuite.com/LBZ32NZXZ3HP8SNE_TST/WM/wmwebservice_rest/
LBZ32NZXZ3HP8SNE_TST_ENTERPRISE/items’ \
–header ‘Accept: application/json’ \
–header ‘Content-Type: application/json’ \
–header ‘Authorization: Bearer {access token}’ \
–data-raw ‘
{
“storerkey”: “MADI”,
“sku”: “BCKVMUNIPER93270”,
“descr”: “Kevin Murphy Icons (Noir Nouveaux and Opulent Roller Fragra”,
“packkey”: “STD”,
“itemcharacteristic2”: “THALGO”,
“itemcharacteristic1”: “GENERAL”,
“countryoforigin”: “ITALY”,
“style”: “NAIL CARE”,
“notes1”: “ARABICNAME”,
“stdgrosswgt”: “1”,
“stdnetwgt”: “2”,
“ext_udf_str1”: “item classification”,
“ext_udf_str2”: “HS CODE”,
“ext_udf_str3”: “DG NUMBER”,
“class”: “item class”,
“stdcube”: “item cbm”,
“stockcategory”: “item category”,
“manualsetuprequired”: “1”,
“altSkus”: [{“storerkey”: “MADI”,”sku”: “BCKVMUNIPER93270″,”altsku”: “barcode”}]
}