Every organisation on eezee is represented by an Enterprise object. An enterprise can be both a seller and a buyer.
Create an enterprise
punchoutBuyerId | string (PunchoutBuyerId) The uid of the buyer as identified on your platform |
punchoutSellerId | string (PunchoutSellerId) The uid of the seller as identified on your platform. |
punchoutNetworkId | string (PunchoutNetworkId) The user network id. Usually a support email. |
punchoutApplication | string (PunchoutApplication) The short name of your application. |
logoUrl required | string |
companyName required | string |
shortName required | string |
domainNames | Array of strings |
addresses required | Array of objects (Address) |
Success
{- "punchoutBuyerId": "507f191e810c19729de860ea",
- "punchoutSellerId": "507f1f77bcf86cd799439011",
- "punchoutNetworkId": "sysadmin@ariba.com",
- "punchoutApplication": "SAP Ariba",
- "companyName": "Merlion Bay Sands Pte Ltd",
- "shortName": "MBS",
- "domainNames": [
- "merlionbaysands.sg",
- "merlionbs.sg"
], - "addresses": [
- {
- "addressId": "AMK01",
- "groupName": "SG",
- "fullAddress": "4010 Techplace 1, Ang Mo Kio Ave 10,",
- "city": "Singapore",
- "isoCountryCode": "SG",
- "postalCode": "569626",
- "billingOnly": false
}
]
}
{- "success": true,
- "enterprise": {
- "punchoutSharedSecret": "fe0d92b9-3ff8-489a-9f97-efcefbfd7c12",
- "punchoutLeadTime": "7",
- "punchoutApplication": "SAP Ariba",
- "punchoutNetworkId": "sysadmin@ariba.com",
- "punchoutSellerId": "507f1f77bcf86cd799439011",
- "punchoutBuyerId": "507f191e810c19729de860ea",
- "punchoutModule": true,
- "enterpriseKey": "3qUlPQkLti1O7BBxKJS5",
- "companyName": "Merlion Bay Sands Pte Ltd",
- "shortName": "MBS",
- "creditTermDays": 30,
- "creditLimit": 3000,
- "creditBalance": 3000,
- "movFreeDelivery": 200,
- "_id": "5e9927bb4bf9e33495bc2c6a",
- "domainNames": [
- "merlionbaysands.sg",
- "merlionbs.sg"
], - "dateCreated": "2020-04-17T03:51:23.636Z"
}
}
Get all enterprise your account has access rights to.
Success
{- "success": true,
- "enterprises": [
- {
- "punchoutSharedSecret": "fe0d92b9-3ff8-489a-9f97-efcefbfd7c12",
- "punchoutLeadTime": "7",
- "punchoutApplication": "SAP Ariba",
- "punchoutNetworkId": "sysadmin@ariba.com",
- "punchoutSellerId": "507f1f77bcf86cd799439011",
- "punchoutBuyerId": "507f191e810c19729de860ea",
- "punchoutModule": true,
- "enterpriseKey": "3qUlPQkLti1O7BBxKJS5",
- "companyName": "Merlion Bay Sands Pte Ltd",
- "shortName": "MBS",
- "creditTermDays": 30,
- "creditLimit": 3000,
- "creditBalance": 3000,
- "movFreeDelivery": 200,
- "_id": "5e9927bb4bf9e33495bc2c6a",
- "domainNames": [
- "merlionbaysands.sg",
- "merlionbs.sg"
], - "dateCreated": "2020-04-17T03:51:23.636Z"
}
]
}
NOTE: You can't retrieve the enterprise' details if this enterprise wasn't created by your organisation.
id required | string Example: 5e9927bb4bf9e33495bc2c6a The enterprise's id (enterprise._id) |
Success
{- "success": true,
- "enterprises": [
- {
- "punchoutSharedSecret": "fe0d92b9-3ff8-489a-9f97-efcefbfd7c12",
- "punchoutLeadTime": "7",
- "punchoutApplication": "SAP Ariba",
- "punchoutNetworkId": "sysadmin@ariba.com",
- "punchoutSellerId": "507f1f77bcf86cd799439011",
- "punchoutBuyerId": "507f191e810c19729de860ea",
- "punchoutModule": true,
- "enterpriseKey": "3qUlPQkLti1O7BBxKJS5",
- "companyName": "Merlion Bay Sands Pte Ltd",
- "shortName": "MBS",
- "creditTermDays": 30,
- "creditLimit": 3000,
- "creditBalance": 3000,
- "movFreeDelivery": 200,
- "_id": "5e9927bb4bf9e33495bc2c6a",
- "domainNames": [
- "merlionbaysands.sg",
- "merlionbs.sg"
], - "dateCreated": "2020-04-17T03:51:23.636Z"
}
]
}
id required | string Example: 5e9927bb4bf9e33495bc2c6a The enterprise's id (enterprise._id) |
Success
{- "success": true
}
id required | string Example: 5e9927bb4bf9e33495bc2c6a The enterprise's id (enterprise._id) |
addressId required | string (Should be unique) The customer-defined id of an address |
groupName | string |
fullAddress required | string |
city required | string |
isoCountryCode required | string 2 characters |
postalCode required | string 6 characters |
billingOnly | boolean |
Description
[- {
- "addressId": "AMK01",
- "groupName": "SG",
- "fullAddress": "4010 Techplace 1, Ang Mo Kio Ave 10,",
- "city": "Singapore",
- "isoCountryCode": "SG",
- "postalCode": "569626",
- "billingOnly": false
}
]
{- "success": true,
- "addresses": [
- {
- "addressId": "AMK01",
- "groupName": "SG",
- "fullAddress": "4010 Techplace 1, Ang Mo Kio Ave 10,",
- "city": "Singapore",
- "isoCountryCode": "SG",
- "postalCode": "569626",
- "billingOnly": false
}
]
}
Returns a list of users you have access to.
The list of users
{- "success": true,
- "users": [
- {
- "local": {
- "email": "sales@hongteckhin.com.sg"
}, - "categoryNiche": [
- {
- "name": "Adhesive Glue",
- "kebabCase": "adhesive-glue",
- "_id": "5ebaeef14447bd3e8b2f05ab"
}, - {
- "name": "Lubricants",
- "kebabCase": "lubricants",
- "_id": "5ebaeef14447bd3e8b2f05aa"
}, - {
- "name": "Threadlocker",
- "kebabCase": "threadlocker",
- "_id": "5ebaeef14447bd3e8b2f05a9"
}, - {
- "name": "Degreasers",
- "kebabCase": "degreasers",
- "_id": "5ebaeef14447bd3e8b2f05a8"
}, - {
- "name": "Sealants",
- "kebabCase": "sealants",
- "_id": "5ebaeef14447bd3e8b2f05a7"
}, - {
- "name": "Anti Rust Coating & Lubricant",
- "kebabCase": "anti-rust-coating-lubricant",
- "_id": "5ebaeef14447bd3e8b2f05a6"
}, - {
- "name": "Epoxy",
- "kebabCase": "epoxy",
- "_id": "5ebaeef14447bd3e8b2f05a5"
}, - {
- "name": "Retaining Compound",
- "kebabCase": "retaining-compound",
- "_id": "5ebaeef14447bd3e8b2f05a4"
}, - {
- "name": "Other Tools",
- "kebabCase": "other-tools",
- "_id": "5ebaeef14447bd3e8b2f05a3"
}, - {
- "name": "Cable & Wire Cutters",
- "kebabCase": "cable-wire-cutters",
- "_id": "5ebaeef14447bd3e8b2f05a2"
}
], - "brandNiche": [
- {
- "name": "WEICON",
- "kebabCase": "weicon",
- "_id": "5ebaeef14447bd3e8b2f05b5"
}, - {
- "name": "LOCTITE",
- "kebabCase": "loctite",
- "_id": "5ebaeef14447bd3e8b2f05b4"
}, - {
- "name": "OEM",
- "kebabCase": "oem",
- "_id": "5ebaeef14447bd3e8b2f05b3"
}, - {
- "name": "PERMATEX",
- "kebabCase": "permatex",
- "_id": "5ebaeef14447bd3e8b2f05b2"
}, - {
- "name": "Others",
- "kebabCase": "others",
- "_id": "5ebaeef14447bd3e8b2f05b1"
}, - {
- "name": "Mr McKenic",
- "kebabCase": "mr-mckenic",
- "_id": "5ebaeef14447bd3e8b2f05b0"