go-magento2

module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2020 License: Apache-2.0

README

Build Status Maintainability Donate

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
      • add comment to order
    • products
      • create new product
        • configurable products
          • assign simple products
        • simple products
      • create attributes
      • create attribute-set
        • assign attributes to attribute-set

Examples

See examples-directory.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL