🏠 Home Generix POS

Marketplace Settings β€” Amazon

When this is filled in and turned on, new Amazon orders are pulled in automatically and turned into sale invoices here β€” stock updates the moment an order comes in. See Marketplace Orders to review what's synced, and SKU Mapping to tell it which of your items each Amazon SKU is.

πŸ”— Amazon API Connection

βͺ Backfill Older Orders

Sync only looks for orders since the last successful run. Use this once to also pull in older orders β€” e.g. when first connecting, or after a sync matched nothing due to a wrong setting above (that still moves "last synced" forward, which can skip real orders). A later sync still resumes forward from now as usual.

βš™οΈ Sync Behavior

A SKU with no matching item gets one created automatically (from Amazon's title, never IMEI-tracked) and mapped, instead of erroring out. Its sale price is taken straight from that Amazon order line, but cost price and stock still start at 0 β€” Amazon doesn't tell us what you paid or how many you have β€” so the order still shows an error on Marketplace Orders β€” that's your to-do list. Open the item on Items (search its code, the Amazon SKU) to set cost price, bring in stock with a Purchase, then Retry the order.

πŸ”‘ Cron Secret

Schedule a job on your host to hit this URL every 10–15 minutes (cPanel β†’ Cron Jobs), or run it as a PHP CLI command β€” see the comment at the top of backend/api/cron/amazon_sync.php for both forms.

Generating a new one immediately invalidates the old one β€” update your host's cron job with the new URL right after.