
go-magento2
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.
Let's make this package great together! 🚀
Features
- 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
- 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
- Administrator / Integration
- cart
- all features from guest- and customer-api
- order
- products
- create new product
- configurable products
- simple products
- create attributes
- create attribute-set
- assign attributes to attribute-set
Examples
See examples-directory.