> ## Documentation Index
> Fetch the complete documentation index at: https://docs.avstarna.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sync WooCommerce Orders with Avstarna Automatically

> Connect your WooCommerce store to Avstarna to sync customer orders, manage fulfillment, and keep your manufacturing workflow aligned with online sales.

If you run an online store on WooCommerce, Avstarna's WooCommerce integration closes the gap between your e-commerce sales and your manufacturing operations. Once connected, you can pull your WooCommerce orders directly into Avstarna and manage fulfillment from the same platform you use for production — without switching between systems or manually re-entering order data.

## Connecting Your WooCommerce Store

<Steps>
  <Step title="Open the WooCommerce integration page">
    In Avstarna, navigate to **Admin → API → WooCommerce**.
  </Step>

  <Step title="Generate API credentials in WooCommerce">
    In your WooCommerce admin, go to **WooCommerce → Settings → Advanced → REST API** and create a new API key. Set the permissions to **Read** and copy the **Consumer Key** and **Consumer Secret**.
  </Step>

  <Step title="Enter your credentials in Avstarna">
    Paste the Consumer Key and Consumer Secret into the corresponding fields on the WooCommerce integration page in Avstarna, then save the connection.
  </Step>

  <Step title="Verify the connection">
    Avstarna confirms the connection is active. You will see a **Connected** status next to the Orders sync indicator.
  </Step>
</Steps>

<Warning>
  Keep your WooCommerce API credentials secure. Do not share your Consumer Key or Consumer Secret with anyone outside your team. If you suspect they have been compromised, regenerate them in WooCommerce and update the connection in Avstarna immediately.
</Warning>

## Syncing Orders

Once your store is connected, you can sync orders on demand at any time.

* Click **Sync Orders** on the WooCommerce integration page to fetch the latest orders from your store.
* Avstarna retrieves up to **100 orders per page** in each sync. If your store has more than 100 unsynced orders, Avstarna fetches them in paginated batches until all orders are imported.
* Synced orders appear immediately in **Avstarna's order management** section, where you can process them alongside orders from other channels.

<Tip>
  Run a sync after every busy sales period — such as after a flash sale or the end of a trading week — to keep your Avstarna order queue up to date before you start planning production runs.
</Tip>

## What Synced Orders Look Like in Avstarna

After a sync, each WooCommerce order appears in your Avstarna order list with the customer's details, line items, quantities, and order status carried over from WooCommerce. You can then:

* Assign orders to production batches
* Generate packing slips and shipping labels
* Update fulfillment status as you pick and pack

All the standard Avstarna order management tools are available for synced WooCommerce orders, so your team works in one place regardless of where the order originated.

## Upcoming: Product Sync

<Note>
  **Product sync is coming soon.** This feature will allow you to sync your Avstarna product catalog directly with your WooCommerce store, keeping product information consistent across both platforms. Stay tuned for updates.
</Note>

## Frequently Asked Questions

<AccordionGroup>
  <Accordion title="Does Avstarna sync orders in real time?">
    Order sync is currently on-demand. You trigger a sync manually from the WooCommerce integration page. Automatic scheduled syncing is not available at this time.
  </Accordion>

  <Accordion title="What happens if I sync the same orders twice?">
    Avstarna recognises orders that have already been imported and does not create duplicates. You can sync safely at any time without worrying about double entries.
  </Accordion>

  <Accordion title="Can I connect more than one WooCommerce store?">
    The integration currently supports one WooCommerce store connection per Avstarna account. If you need to connect multiple stores, contact Avstarna support to discuss your options.
  </Accordion>

  <Accordion title="Do I need a specific WooCommerce plan to use this integration?">
    You need a WooCommerce store with REST API access enabled, which is available on all standard WooCommerce installations. There are no additional WooCommerce plan requirements beyond having REST API credentials.
  </Accordion>
</AccordionGroup>
