A Golang package for communicating with the magento2 api. (tested with >=2.1.0)
I initially built this package because I need it for a project I'm currently working on.
For the start, I will add further features upon my need.
If you need a feature which is not implemented yet, feel free to open a pull request.
This package is still in development-state.
While I'm trying to ensure 100% backwards-compatibility, there might be breaking changes in minor- or patch-level updates.
- Guest api
- guest-carts
- add items
- get available shipping carrier
- add shipping information (billing- and shipping-address)
- get available payment methods
- add payment method
- place order
- guest-carts
- Registered customer api
- cart
- add items
- get available shipping carrier
- add shipping information (billing- and shipping-address)
- get available payment methods
- add payment method
- place order
- cart
- Administrator / Integration
- cart
- all features from guest- and customer-api
- order
- add comment to order
- products
- create new product
- configurable products
- assign simple products
- simple products
- configurable products
- create attributes
- create attribute-set
- assign attributes to attribute-set
- create new product
- cart
See examples-directory.