Plugin for integrating Vendure with GoedGepickt.
Vendure's responsibilities vs GoedGepickt's responsibilities:
vendure-config.ts:Settings > Channels, open the channel you want to configure and select the
GoedGepickt tab. Make sure you have the SetGoedGepicktConfig permission.apiKey and webshopUuid per channel.When you save the credentials, the plugin will make sure the configured vendureHost is set as webhook for order and stock updates. The plugin will never delete webhooks, so if you ever change your url, you should manually delete the old webhook via GoedGepickt.
DefaultSchedulerPlugin configured in your Vendure config:
This plugin uses custom fields on an order as pickup location address. You can set a pickup points on an order with this mutation, the plugin will then send the address to Goedgepickt:
This plugin only works with a single stock location in Vendure. It will not work correctly when you have multiple stock locations configured. GoedGepickt should manage stock for all your locations, and Vendure should only have a single stock location that reflects the total stock managed by GoedGepickt.
You should monitor your server logs for the message Failed to process job sync-order with severity WARNING. This means an order was not pushed to GoedGepickt. Depending on your job queue implementation this will be retried.
In Google Cloud, we create an alert for the following log query:
severity>=WARNING
"Failed to process job sync-order"
goedgepickt-sync-stock runs every night at 2:00 AM to pull stock levels from GoedGepicktgoedgepickt-push-products runs every Monday at 6:00 AM to push all Vendure products to GoedGepicktdoFullSync() into pullAllStocklevels() and pushAllProductsToGoedgepickt() in GoedgepicktServiceScheduledTask that runs every night at 2:00 UTC (4:00 CEST) and syncs all enabled channels.endpointSecret from GoedgepicktPluginConfig. The /goedgepickt/fullsync/:secret endpoint has been removed.runGoedgepicktFullSync GraphQL mutation.GoedGepickt full sync action bar item from the product list page in the dashboard. Use the scheduled task UI to trigger a full sync.DefaultSchedulerPlugin must now be present in your Vendure config for the full sync to run automatically.error.stockonhand-cannot-be-negative errors.jpg and so new products get the Vendure imageobject null is not iterable at GoedgepicktService.splitHouseNumberAndAddition for empty house number stringmain and types paths in package.json, now that we don't export files from outside the root anymore.Too Many Attempts errorShipped or Delivered on incoming status change.orderPlacedAt field should not be mandatory to push to Picqersku = :sku instead of productVariant.sku = :sku