Xian Assistant: restocking when card codes run out

Automatic delivery stops when stock is empty. Restocking does not mean rebuilding the item: import new codes and check the count.

Restock steps

  1. Open the item in Xian Assistant and go to code management.
  2. Prepare the new batch as text, one code per line, with no blank lines or duplicates.
  3. Import and check that the stock count matches the number of lines.
  4. Confirm with a test order that the delivered code is formatted correctly.

Why not rebuild the item

The item and the code pool are separate; restocking only adds to the pool. Rebuilding loses existing sales and reviews and breaks the old link.

Common issues

  • Stock unchanged after import: check for duplicate codes, which are ignored.
  • Buyer received an empty message: stock was exhausted. Restock, then resend the failed order manually.
  • Code format rejected: check for notes or extra spaces mixed into the file.

Suggestions

Note the import date per batch so a problem can be traced to one batch. Restock before stock falls below normal daily sales rather than after it runs out.

Related: delivery templates and stock.