This article shows how to connect your Magento store to myOGO2, so your orders come to our warehouse and your products and stock stay in sync. The integration supports Magento 2.4 and later. For questions about what the integration can do, contact service@ogoship.com.
1. Create an access token in Magento
You need your store's REST address and an Access Token from Magento.
- Log in to Magento Admin and go to System → Extensions → Integrations.
- Click Add New Integration.
- Enter a unique Name for the integration and your admin password in Your Password. Leave the other fields empty.
- Open the API tab and give the permissions listed below. The quick way is to select everything under Sales, Catalog and Stores.
- Click Save, then Activate on the new integration, and Allow.
- Copy the Access Token.
Permissions the integration needs:
- Sales → Operations → Orders → Actions: View to read orders, Ship to create shipments, and Comment to add a comment when the order comes to OGOship.
- Catalog → Inventory → Products: to read your products.
- Stores → Inventory → Sources: to read your stock sources and update stock levels.
2. Add the integration in myOGO2
- Go to General settings → Ecommerce integrations and click + (Add integration).
- Choose Magento.
- Fill in:
- Warehouse: our warehouse that ships your orders.
- Store URL: your store's full REST address, for example https://www.example.com/rest/default/V1
- API key (integration token): the Access Token from Magento.
- Click Save (the cloud icon) at the top of the page.
The integration now shows on the Ecommerce integrations page. Click Settings on it to check the connection with Test connection and to choose what is synced, such as sending order status, tracking and stock levels to your store.
3. Magento order statuses and other settings
By default, orders in the Processing status come to OGOship. Magento has no status of its own for orders that have come to OGOship or are partly shipped. If you want those, create them in Magento:
- In Magento, go to Stores → Order Status and click Create New Status.
- Enter a Status Code without spaces or special characters, for example "TransferredToMyogo" or "PartiallyShipped", and a Status Label.
- Click Save Status.
If your products' EAN codes are in their own attribute, create it in Stores → Attributes → Products → Add New Attribute (for example the label "EAN code" and the code "eancode").
These Magento settings are not yet in myOGO2: the order statuses to read, the transferred and partly shipped statuses, the EAN attribute, store IDs (if you have several stores under one Magento), and whether Magento lowers the stock itself. Send them to Merchant Care at service@ogoship.com and we set them for you.
4. Bring your products to myOGO2
Every product must be assigned to the Magento source you use for OGOship (the default source or one of its own).
- Go to Products → Product sync. Your Magento products load on the page.
- Select the products marked Not in myOGO and click Create in myOGO.
Read more in How to use the product sync page in myOGO2. When the products arrive at our warehouse, the stock shows in both myOGO and your store.
5. Shipping methods and pickup points
Next, connect your store's shipping methods to OGOship's delivery types. This is still done in myOGO: see Shipping methods - basic configuration.
If your checkout lets the customer choose a pickup point, add the pickup point code at the end of the shipping description, after a | sign. For example:
Omniva - Tallinna Viru Bussiterminali pakiautomaat | EE096104
Here "Omniva - Tallinna Viru Bussiterminali pakiautomaat" is the delivery type and EE096104 is the pickup point code.
Still using myOGO? The old instructions are here.