Startseite /

API: WordPress & WooCommerce

API-Referenz

API: WordPress & WooCommerce

38 Wege der Workbench-Schnittstelle – Anbindung einer WordPress-Website über API-Schlüssel: Anfrageformulare, Kundenabgleich mit WooCommerce, Shop-Bestellungen, Produktlieferung, Designer-Brücke und Ereignisse an die Website.

← API-Referenz · Anmeldung, Rechte, Grenzen und Fehler stehen dort. Alle Pfade beziehen sich auf https://<instanz>/api.

Diese Wege antworten nur, wenn das Modul in deiner Instanz aktiv ist – sonst mit 404 und MODULE_INACTIVE. Einzelne Wege brauchen zusätzlich eine Funktion des Moduls; das steht beim Weg.

Übersicht

MethodePfadZweckRecht
GET/v1/shop-sync/invoices/{id}/noticesShop-Abgleich: „notices“ zu einem Eintrag abrufeninvoices.view
GET/v1/shop-sync/logShop-Abgleich: „log“ abrufen–
POST/v1/shop-sync/notices/{id}/doneShop-Abgleich: Aktion „done“ an einem Eintrag ausführeninvoices.edit
GET/v1/shop-sync/orders/{id}Shop-Abgleich: Einzelnen Eintrag abrufenorders.view
POST/v1/shop-sync/orders/{id}/retryShop-Abgleich: Aktion „retry“ an einem Eintrag ausführeninvoices.create
POST/v1/shop-sync/orders/{id}/tax-ruleShop-Abgleich: Aktion „tax-rule“ an einem Eintrag ausführeninvoices.create
GET/v1/shop-sync/overviewShop-Abgleich: „overview“ abrufen–
POST/wp/v1/customers/account-createdWordPress: Aktion „account-created“ ausführenwordpress.customers
GET/wp/v1/customers/changesWordPress: „changes“ abrufenwordpress.customers
GET/wp/v1/customers/lookupWordPress: „lookup“ abrufenwordpress.customers
POST/wp/v1/customers/syncWordPress: Aktion „sync“ ausführenwordpress.customers
GET/wp/v1/designer/catalogWordPress: „catalog“ abrufenwordpress.designer
GET/wp/v1/designer/images/{id}WordPress: Einzelnen Eintrag abrufenwordpress.designer
GET/wp/v1/designer/motifsWordPress: „motifs“ abrufenwordpress.designer
GET/wp/v1/designer/motifs/{id}/{kind}WordPress: Einzelnen Eintrag abrufenwordpress.designer
POST/wp/v1/designer/ordersWordPress: Aktion „orders“ ausführenwordpress.designer
POST/wp/v1/designer/positionsWordPress: Aktion „positions“ ausführenwordpress.designer
GET/wp/v1/email-layoutWordPress: „email-layout“ abrufenwordpress.connect
POST/wp/v1/forms/submitWordPress: Aktion „submit“ ausführenwordpress.forms
GET/wp/v1/modulesWordPress: „modules“ abrufenwordpress.connect
GET/wp/v1/orders/accountWordPress: „account“ abrufenwordpress.orders
POST/wp/v1/orders/cancelWordPress: Aktion „cancel“ ausführen–
POST/wp/v1/orders/changedWordPress: Aktion „changed“ ausführen–
POST/wp/v1/orders/importWordPress: Aktion „import“ ausführenwordpress.orders
GET/wp/v1/orders/invoice-pdfWordPress: „invoice-pdf“ abrufenwordpress.orders
POST/wp/v1/orders/payment-noticeWordPress: Aktion „payment-notice“ ausführenwordpress.orders
POST/wp/v1/orders/refundWordPress: Aktion „refund“ ausführen–
GET/wp/v1/orders/statusWordPress: „status“ abrufenwordpress.orders
GET/wp/v1/pingWordPress: „ping“ abrufenwordpress.connect
GET/wp/v1/pluginsWordPress: „plugins“ abrufenwordpress.manage
GET/wp/v1/plugins/{file}WordPress: Einzelnen Eintrag abrufenwordpress.manage
GET/wp/v1/product-groupsWordPress: „product-groups“ abrufenwordpress.products
GET/wp/v1/product-groups/{id}/imageWordPress: „image“ zu einem Eintrag abrufenwordpress.products
GET/wp/v1/productsWordPress: „products“ abrufenwordpress.products
GET/wp/v1/products/{id}/imageWordPress: „image“ zu einem Eintrag abrufenwordpress.products
GET/wp/v1/products/stockWordPress: „stock“ abrufenwordpress.products
GET/wp/v1/siteWordPress: „site“ abrufenwordpress.manage
GET/wp/v1/statsWordPress: „stats“ abrufenwordpress.manage

Wege im Einzelnen

GET /v1/shop-sync/invoices/{id}/notices

Shop-Abgleich: „notices“ zu einem Eintrag abrufen

  • Benötigtes Recht: invoices.view.
  • Modul „WordPress & WooCommerce“, Funktion „WooCommerce-Abgleich (Kunden, Bestellungen, Produkte)“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • id (im Pfad, Pflicht) – integer

GET /v1/shop-sync/log

Shop-Abgleich: „log“ abrufen

  • Kein eigenes Recht nötig – jeder gültige Schlüssel.
  • Modul „WordPress & WooCommerce“, Funktion „WooCommerce-Abgleich (Kunden, Bestellungen, Produkte)“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • errors (Abfrage) – string
  • limit (Abfrage) – string
  • order_id (Abfrage) – string

POST /v1/shop-sync/notices/{id}/done

Shop-Abgleich: Aktion „done“ an einem Eintrag ausführen

  • Benötigtes Recht: invoices.edit.
  • Modul „WordPress & WooCommerce“, Funktion „WooCommerce-Abgleich (Kunden, Bestellungen, Produkte)“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • id (im Pfad, Pflicht) – integer

Inhalt: application/json

GET /v1/shop-sync/orders/{id}

Shop-Abgleich: Einzelnen Eintrag abrufen

  • Benötigtes Recht: orders.view.
  • Modul „WordPress & WooCommerce“, Funktion „WooCommerce-Abgleich (Kunden, Bestellungen, Produkte)“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • id (im Pfad, Pflicht) – integer

POST /v1/shop-sync/orders/{id}/retry

Shop-Abgleich: Aktion „retry“ an einem Eintrag ausführen

  • Benötigtes Recht: invoices.create.
  • Modul „WordPress & WooCommerce“, Funktion „WooCommerce-Abgleich (Kunden, Bestellungen, Produkte)“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • id (im Pfad, Pflicht) – integer

Inhalt: application/json

POST /v1/shop-sync/orders/{id}/tax-rule

Shop-Abgleich: Aktion „tax-rule“ an einem Eintrag ausführen

  • Benötigtes Recht: invoices.create.
  • Modul „WordPress & WooCommerce“, Funktion „WooCommerce-Abgleich (Kunden, Bestellungen, Produkte)“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • id (im Pfad, Pflicht) – integer

Inhalt (application/json) – Felder, die der Weg liest (Typen nicht festgelegt):

  • retry
  • tax_rule_id

GET /v1/shop-sync/overview

Shop-Abgleich: „overview“ abrufen

  • Kein eigenes Recht nötig – jeder gültige Schlüssel.
  • Modul „WordPress & WooCommerce“, Funktion „WooCommerce-Abgleich (Kunden, Bestellungen, Produkte)“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

POST /wp/v1/customers/account-created

WordPress: Aktion „account-created“ ausführen

  • Benötigtes Recht: wordpress.customers.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Inhalt: application/json

GET /wp/v1/customers/changes

WordPress: „changes“ abrufen

  • Benötigtes Recht: wordpress.customers.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • only_shop (Abfrage) – string

GET /wp/v1/customers/lookup

WordPress: „lookup“ abrufen

  • Benötigtes Recht: wordpress.customers.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • email (Abfrage) – string
  • external_id (Abfrage) – string

POST /wp/v1/customers/sync

WordPress: Aktion „sync“ ausführen

  • Benötigtes Recht: wordpress.customers.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Inhalt (application/json) – Felder, die der Weg liest (Typen nicht festgelegt):

  • customer
  • customers
  • options

GET /wp/v1/designer/catalog

WordPress: „catalog“ abrufen

  • Benötigtes Recht: wordpress.designer.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • only (Abfrage) – string

GET /wp/v1/designer/images/{id}

WordPress: Einzelnen Eintrag abrufen

  • Benötigtes Recht: wordpress.designer.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • id (im Pfad, Pflicht) – integer

Antwort: image/*, application/octet-stream

GET /wp/v1/designer/motifs

WordPress: „motifs“ abrufen

  • Benötigtes Recht: wordpress.designer.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • limit (Abfrage) – string

GET /wp/v1/designer/motifs/{id}/{kind}

WordPress: Einzelnen Eintrag abrufen

  • Benötigtes Recht: wordpress.designer.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • id (im Pfad, Pflicht) – integer
  • kind (im Pfad, Pflicht) – eins von print, preview

Antwort: image/*, application/octet-stream

POST /wp/v1/designer/orders

WordPress: Aktion „orders“ ausführen

  • Benötigtes Recht: wordpress.designer.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Inhalt (multipart/form-data) – Felder, die der Weg liest (Typen nicht festgelegt):

  • file – Datei

POST /wp/v1/designer/positions

WordPress: Aktion „positions“ ausführen

  • Benötigtes Recht: wordpress.designer.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Inhalt (application/json) – Felder, die der Weg liest (Typen nicht festgelegt):

  • map
  • positions
  • skus

GET /wp/v1/email-layout

WordPress: „email-layout“ abrufen

  • Benötigtes Recht: wordpress.connect.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

POST /wp/v1/forms/submit

WordPress: Aktion „submit“ ausführen

  • Benötigtes Recht: wordpress.forms.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Inhalt (multipart/form-data) – Felder, die der Weg liest (Typen nicht festgelegt):

  • files – Datei

GET /wp/v1/modules

WordPress: „modules“ abrufen

  • Benötigtes Recht: wordpress.connect.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

GET /wp/v1/orders/account

WordPress: „account“ abrufen

  • Benötigtes Recht: wordpress.orders.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

POST /wp/v1/orders/cancel

WordPress: Aktion „cancel“ ausführen

  • Kein eigenes Recht nötig – jeder gültige Schlüssel.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Inhalt: application/json

POST /wp/v1/orders/changed

WordPress: Aktion „changed“ ausführen

  • Kein eigenes Recht nötig – jeder gültige Schlüssel.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Inhalt (application/json) – Felder, die der Weg liest (Typen nicht festgelegt):

  • order

POST /wp/v1/orders/import

WordPress: Aktion „import“ ausführen

  • Benötigtes Recht: wordpress.orders.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Inhalt (application/json) – Felder, die der Weg liest (Typen nicht festgelegt):

  • order
  • orders

GET /wp/v1/orders/invoice-pdf

WordPress: „invoice-pdf“ abrufen

  • Benötigtes Recht: wordpress.orders.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Antwort: application/pdf, application/octet-stream, application/json

POST /wp/v1/orders/payment-notice

WordPress: Aktion „payment-notice“ ausführen

  • Benötigtes Recht: wordpress.orders.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Inhalt: application/json

POST /wp/v1/orders/refund

WordPress: Aktion „refund“ ausführen

  • Kein eigenes Recht nötig – jeder gültige Schlüssel.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Inhalt: application/json

GET /wp/v1/orders/status

WordPress: „status“ abrufen

  • Benötigtes Recht: wordpress.orders.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • ids (Abfrage) – string
  • source (Abfrage) – string

GET /wp/v1/ping

WordPress: „ping“ abrufen

  • Benötigtes Recht: wordpress.connect.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

GET /wp/v1/plugins

WordPress: „plugins“ abrufen

  • Benötigtes Recht: wordpress.manage.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

GET /wp/v1/plugins/{file}

WordPress: Einzelnen Eintrag abrufen

  • Benötigtes Recht: wordpress.manage.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • file (im Pfad, Pflicht) – string

Antwort: application/zip, application/json

GET /wp/v1/product-groups

WordPress: „product-groups“ abrufen

  • Benötigtes Recht: wordpress.products.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • ids (Abfrage) – string

GET /wp/v1/product-groups/{id}/image

WordPress: „image“ zu einem Eintrag abrufen

  • Benötigtes Recht: wordpress.products.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • id (im Pfad, Pflicht) – integer

Antwort: application/octet-stream, application/json

GET /wp/v1/products

WordPress: „products“ abrufen

  • Benötigtes Recht: wordpress.products.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • inactive (Abfrage) – string
  • variants (Abfrage) – string

GET /wp/v1/products/{id}/image

WordPress: „image“ zu einem Eintrag abrufen

  • Benötigtes Recht: wordpress.products.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • id (im Pfad, Pflicht) – integer

Antwort: application/octet-stream, application/json

GET /wp/v1/products/stock

WordPress: „stock“ abrufen

  • Benötigtes Recht: wordpress.products.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

Parameter

  • after_id (Abfrage) – string
  • deleted (Abfrage) – string
  • inactive (Abfrage) – string
  • limit (Abfrage) – string

GET /wp/v1/site

WordPress: „site“ abrufen

  • Benötigtes Recht: wordpress.manage.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

GET /wp/v1/stats

WordPress: „stats“ abrufen

  • Benötigtes Recht: wordpress.manage.
  • Modul „WordPress & WooCommerce“ muss aktiv sein (sonst 404 MODULE_INACTIVE).

API-Referenz · openapi.json herunterladen · API-Dokumentation