APIs & Hooks

Several of the built in APIs and web hooks can be found in the readme of the repo or in the BigCommerce api documentation.

Any of the custom apis and web hooks that were added can be found below. Most of these api/hooks can be found in the codebase under pages > api > bigcommerce folder.

Create Shipment

Create shipment is an api/hook that triggers BigCommerce to create a shippment once Digital River has processed an order.

PATH: 512audio.com/api/bigcommerce/createShipment

Update order

Update order gets triggered from Digital River and sets the order status in BigCommerce to 10 (complete).

PATH: 512audio.com/api/bigcommerce/updateOrder

Subscribe

Subscribe is triggered from the newsletter signup in the footer. This api calls out to BigCommerce and adds the user to the newsletter list in BigCommerce.

PATH: 512audio.com/api/bigcommerce/subscribe

Update Customer

Update customer triggers BigCommerce to update customer details when prompted.

PATH: 512audio.com/api/bigcommerce/customers/updateCustomer