1.348
Bearbeitungen
MH (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
MH (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 56: | Zeile 56: | ||
<div class="mw-parser-output"> | <div class="mw-parser-output"> | ||
<div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"> | |||
==== B2BPreise ==== | ==== B2BPreise ==== | ||
Anlegen von B2B-Preise | |||
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;" | {| border="1" cellpadding="1" cellspacing="1" style="width: 500px;" | ||
| Zeile 76: | Zeile 77: | ||
| | ||
Ein Delete Request, der alle Einträge löscht, die seit mindestens 24 Stunden nicht mehr geupdated wurden. Bereinigt alte Einträge unmittelbar nach einer vollständigen B2BPrice Synchronisation | |||
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;" | {| border="1" cellpadding="1" cellspacing="1" style="width: 500px;" | ||
|- | |- | ||
| style="width: 102px;" | Route | | style="width: 102px;" | Route | ||
| style="width: 385px;" | /api/v3/omniseller/ | | style="width: 385px;" | /api/v3/omniseller/b2bpricesDeleteOld | ||
|- | |- | ||
| style="width: 102px;" | Request-Tpye | | style="width: 102px;" | Request-Tpye | ||
| Zeile 89: | Zeile 92: | ||
|- | |- | ||
| style="width: 102px;" | Response-Json | | style="width: 102px;" | Response-Json | ||
| style="width: 385px;" | <div> </div> | | 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: | |||
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;" | |||
|- | |||
| 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> | </div> </div> </div> | ||