- How It Works
- Use Cases
- Industry Cases
- Business Cases
- Case Studies
- API Docs
- Log In
- Sign Up
Download the guide "How to Integrate with Multiple eCommerce Platforms in Less than a Month" and find more how to connect your B2B SaaS system with various shopping platforms quickly!
Create a client
Set token lifetime
To work with orders endpoint, you need to add a store with the parameters hybris_username, hybris_password.
Also, the user must belong to groups such as customersupportagentgroup and customermanagergroup.
To work with warehouses and get store data via cart.info, the admin user must also belong to a group warehouseadministratorgroup.
This can be done by simply assigning the user to a group, or if the user is already in a group and there is a need to expand its capabilities, then you can add its subgroup to the group.
If everything is done correctly, you can add a store.
If, when trying to add a store, an error occurs due to incorrect permissions, for example, due to the absence of a group, it is necessary to delete the incorrectly generated OAuth Access Token. If you try to regenerate it, Hybris will still give the same token until it expires.
The request examples (Postman collection)
for HSQL database:
./hybris/bin/platform/license.sh -temp CPS_SQL
/hybris/bin/platform/license.sh -temp CPS_MYS
Posted in: Getting Started