Wix
Your Wix site: store, orders, blog, contacts and bookings
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
- Site IDRequiredIdentifier
- Account IDOptionalIdentifier
Where to find them
- Sign in as the owner or a co-owner of the account at manage.wix.com/account/api-keys (“API Keys” in the account settings).
- Click “Generate API Key”, give it a name, choose which sites it gives access to and select the required permissions (e.g. Wix Stores, Wix eCommerce, Wix Blog or Contacts).
- Click “Generate Key” and copy it: it is not shown again. The account ID is also on that page. The key only works for sites of the account where it was created.
Tools (2)
Wix API request
WIX_SEND_REQUESTAuthenticated call to the Wix API (https://www.wixapis.com). Any endpoint of the API is allowed. Site APIs use the connection's site ID (for another site of the same account, pass the header wix-site-id). Examples: POST /ecom/v1/orders/search {"search": {"cursorPaging": {"limit": 20}, "sort": [{"fieldName": "createdDate", "order": "DESC"}]}}, POST /stores/v3/products/query {"query": {"cursorPaging": {"limit": 20}}} (catalog V3; sites with the old catalog use POST /stores/v1/products/query {"query": {"paging": {"limit": 20}}}), GET /blog/v3/posts?paging.limit=10, POST /contacts/v4/contacts/query {"query": {"paging": {"limit": 50}}}, GET /site-properties/v4/properties. Account APIs (with the header x-culturewire-wix-level: account): POST /site-list/v2/sites/query {"query": {"cursorPaging": {"limit": 50}}}.
Required scopes
No scopes required
Input
Wix API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. Recent orders
WIX_LIST_ORDERSStore orders (Wix eCommerce) from newest to oldest, in compact format: number, date, order, payment and fulfillment status, total, buyer and items.
Required scopes
No scopes required
Input
Recent orders input Name Type Description payment_statusstringOnly orders with this payment statusOne of: PAID,NOT_PAID,PARTIALLY_PAID,PENDING,REFUNDED,PARTIALLY_REFUNDEDmaxintegerDefault: 20

