Order Methods

These methods are uses to update the payment and shipping statuses of orders and add orders to your shop system.

add_order

With this action you can add a new Shopgate order to your shop system. If there already is an order with the same number, the action must cancel and the error must be reported.

Specific Error Codes

Code Description
30 parameter “order_number” missing
60 duplicate order
62 no customer group found for customer
64 order status is sent
84 unknown country code
85 unknown state code
Attention

If you DON’T use the Shopgate Library you also have to call our Shopgate Merchant API method get_orders to get the order data.

get_orders

This action implements retrieval of order data from your shop. If a customer already has an account in your online shop, you can allow them to see the current status of their orders on the mobile website or in the mobile apps.

update_order

With this action you can update an already existing Shopgate order in your shop system. In case that the order number is unknown, the action must be cancelled and the error reported.

Specific Error Codes

Code Description
30 parameter “order_number” missing
61 order not found
64 order status is sent
65 order is already up to date