Skip to content

Store API operations

What WooMate AI can do through the WooCommerce REST API beyond its built-in tools.

What it's for

When a built-in tool doesn't cover a field or an operation, WooMate AI checks what your store's API offers. This applies to things like categories, attributes, coupons, customers, refunds, shipping, taxes, settings and product grouping.

The operations available depend on your store, its plugins and the key's permissions.

What you need first

A WooCommerce key with permission for the operation.

Steps

  1. Describe your goal, for example "Create a SUMMER10 coupon for 10% off, valid until the end of the month".
  2. On the Store API operation card, review Purpose and Operation data.
  3. Expand Technical details if you want to see more.
  4. Approve or reject.

Approval for this kind of operation expires after 15 minutes. Reading data doesn't need approval.

Limitations

  • API operations can't be undone from WooMate. The card shows the warning This change cannot be undone from WooMate.
  • The exception is product rows with only prices, statuses, stock and names. WooMate turns them into regular product changes.
  • Deletions, refunds and settings changes take effect right after you approve. Read the purpose of the operation carefully.
  • WooMate prepares an operation only when your store's API schema describes it.
  • The API gives no access to your store's files or code.
  • After an error or no response, WooMate doesn't retry the save on its own.

Common problems

  • Check the API key permissions and its user. The key has no access. Replace it in the store settings.
  • The store doesn't support … for this route. Your store's API doesn't offer this operation.
  • Split the operation into smaller batches. The data is too large for one operation.

Can't find the answer? Write to hello@getwoomate.com or request free onboarding help.