Tags: Costs, External API, Integration, Report Toaster, Shipping
This task integrates Report Toaster and ShipStation. On order fulfillment, Mechanic calls the ShipStation API to retrieve the shipping cost, and this cost is sent to Report Toaster.
- View in the task library: tasks.mechanic.dev/report-toaster-shipstation-integration
- Task JSON, for direct import: task.json
- Preview task code: script.liquid
{
"api_username__required": null,
"api_password__required": null
}
Learn about task options in Mechanic
shopify/orders/fulfilled
mechanic/actions/perform
mechanic/user/text
Learn about event subscriptions in Mechanic
This task integrates Report Toaster and ShipStation. On order fulfillment, Mechanic calls the ShipStation API to retrieve the shipping cost, and this cost is sent to Report Toaster.
Note - the task currently makes a few assumptions:
- The task will get all shipping costs for an order once the order is completely fulfilled.
- The shipping cost is recorded as the shipping cost + insurance cost. You can update the task code to change this logic.
- ShipStation does not store the "#" with the order name. So the task strips this out.
See your ShipStation settings to retrieve the API Key and Password to use in the task options.
This task can be run manually as a test by entering an order name.
See the Mechanic documentation for Report Toaster for more information on updating costs.
Find this task in the library at tasks.mechanic.dev, and use the "Try this task" button. Or, import this task's JSON export – see Importing and exporting tasks to learn how imports work.
Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.
Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!