1.346
Bearbeitungen
MH (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
MH (Diskussion | Beiträge) |
||
Zeile 54: | Zeile 54: | ||
einfacher Request für Versionserfragung und Test ob Plugin installiert/aktiv | einfacher Request für Versionserfragung und Test ob Plugin installiert/aktiv | ||
{ | {{{!}} style="width: 500px;" border="1" cellspacing="1" cellpadding="1" | ||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Route | |||
{{!}} style="width: 385px;" {{!}} /api/v3/omniseller/b2bpricesCheck | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Request-Tpye | |||
{{!}} style="width: 385px;" {{!}} GET | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Request-Json | |||
{{!}} style="width: 385px;" {{!}} | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Response-Json | |||
{{!}} style="width: 385px;" {{!}} <div><div>{</div> | |||
<div> "Installation": "OK",</div> | |||
<div> "version": "1.0.2"</div> | |||
<div>}</div></div> | |||
{{!}}} | |||
| | ||
Anlegen von B2B-Preise | Anlegen von B2B-Preise | ||
{ | {{{!}} style="width: 500px;" border="1" cellspacing="1" cellpadding="1" | ||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Route | |||
{{!}} style="width: 385px;" {{!}} /api/v3/omniseller/b2bprices | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Request-Tpye | |||
{{!}} style="width: 385px;" {{!}} POST | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Request-Json | |||
{{!}} style="width: 385px;" {{!}} <div>[</div> | |||
<div> {<br> "Company": "123",<br> "CustID": "D12345",</div> | |||
<div> "Email":"example@htk.de",<br> "Item": "08154711",<br> "Variation": "0",<br> "Ref": "",</div> | |||
<div> "AbMenge":"0",<br> "Price": "123,45",</div> | |||
<div> "Discount": "10,00",</div> | |||
<div> "IsBruttoPrice": true,</div> | |||
<div> "AllowDiscount": true,</div> | |||
<div> "UploadID": 1234657890<br> }</div> | |||
<div>]</div> | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Response-Json | |||
{{!}} style="width: 385px;" {{!}} <div>{</div> | |||
<div> "status": "FINISHED",</div> | |||
<div> "successful": 1,</div> | |||
<div> "inserts": 0,</div> | |||
<div> "updates": 1,</div> | |||
<div> "errors": 0</div> | |||
<div>}</div> | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} <br> | |||
{{!}} style="width: 385px;" {{!}} <div><br></div> | |||
{{!}}} | |||
| | ||
Ein Delete Request, der alle Einträge löscht, die | Ein Delete Request, der alle Einträge löscht, die eine alte UploadID haben. Bereinigt alte Einträge unmittelbar nach einer vollständigen B2BPrice Synchronisation | ||
{{{!}} style="width: 500px;" border="1" cellspacing="1" cellpadding="1" | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Route | |||
{{!}} style="width: 385px;" {{!}} /api/v3/omniseller/b2bpricesdeleteold | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Request-Tpye | |||
{{!}} style="width: 385px;" {{!}} POST | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Request-Json | |||
{{!}} style="width: 385px;" {{!}} | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Response-Json | |||
{{!}} style="width: 385px;" {{!}} <div><div>{</div> | |||
<div> "message":"Es wurden xx Einträge gelöscht",</div> | |||
<div> "success":true</div> | |||
<div>}</div></div> | |||
{{!}}} | |||
| | ||
Es können auch gezielt einzelne Preise gelöscht werden: | Es können auch gezielt einzelne Preise gelöscht werden: | ||
{ | {{{!}} style="width: 500px;" border="1" cellspacing="1" cellpadding="1" | ||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Route | |||
{{!}} style="width: 385px;" {{!}} /api/v3/omniseller/b2bpricesDeleteSpecific | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Request-Tpye | |||
{{!}} style="width: 385px;" {{!}} POST | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Request-Json | |||
{{!}} style="width: 385px;" {{!}} <div>[{<br> "Company": "123",<br> "CustID": "D12345",<br> "Item": "08154711",<br> "Variation": "0"<br> }</div> | |||
<div>]</div> | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} Response-Json | |||
{{!}} style="width: 385px;" {{!}} <div>{</div> | |||
<div> "status": "FINISHED",</div> | |||
<div> "successful": 1,</div> | |||
<div> "errors": 0,</div> | |||
<div> "deleted":1</div> | |||
<div>}</div> | |||
{{!}}- | |||
{{!}} style="width: 102px;" {{!}} | |||
{{!}} style="width: 385px;" {{!}} | |||
{{!}}} | |||
| |||
<div class="mw-parser-output"> </div> | |||
==== Kundenimport ==== | ==== Kundenimport ==== | ||