OmniSeller:SW6 Plugin: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
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


{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
{{{!}} style="width: 500px;" border="1" cellspacing="1" cellpadding="1"
|-
{{!}}-  
| style="width: 102px;" | Route
{{!}} style="width: 102px;" {{!}} Route
| style="width: 385px;" | /api/v3/omniseller/b2bpricesCheck
{{!}} style="width: 385px;" {{!}} /api/v3/omniseller/b2bpricesCheck
|-
{{!}}-  
| style="width: 102px;" | Request-Tpye
{{!}} style="width: 102px;" {{!}} Request-Tpye
| style="width: 385px;" | GET
{{!}} style="width: 385px;" {{!}} GET
|-
{{!}}-  
| style="width: 102px;" | Request-Json
{{!}} style="width: 102px;" {{!}} Request-Json
| style="width: 385px;" |  
{{!}} style="width: 385px;" {{!}}  
|-
{{!}}-  
| style="width: 102px;" | Response-Json
{{!}} style="width: 102px;" {{!}} Response-Json
| style="width: 385px;" | <div><div>{</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"Installation":&nbsp;"OK",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"version":&nbsp;"1.0.2"</div> <div>}</div> </div>  
{{!}} style="width: 385px;" {{!}} <div><div>{</div>
|}
<div>&nbsp;&nbsp;&nbsp;&nbsp;"Installation":&nbsp;"OK",</div>
 
<div>&nbsp;&nbsp;&nbsp;&nbsp;"version":&nbsp;"1.0.2"</div>
<div>}</div></div>
{{!}}}
&nbsp;
&nbsp;


Anlegen von B2B-Preise
Anlegen von B2B-Preise


{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
{{{!}} style="width: 500px;" border="1" cellspacing="1" cellpadding="1"
|-
{{!}}-  
| style="width: 102px;" | Route
{{!}} style="width: 102px;" {{!}} Route
| style="width: 385px;" | /api/v3/omniseller/b2bprices
{{!}} style="width: 385px;" {{!}} /api/v3/omniseller/b2bprices
|-
{{!}}-  
| style="width: 102px;" | Request-Tpye
{{!}} style="width: 102px;" {{!}} Request-Tpye
| style="width: 385px;" | POST
{{!}} style="width: 385px;" {{!}} POST
|-
{{!}}-  
| style="width: 102px;" | Request-Json
{{!}} style="width: 102px;" {{!}} Request-Json
| style="width: 385px;" | <div>[{<br/> &nbsp; &nbsp; &nbsp; &nbsp; "Company": "123",<br/> &nbsp; &nbsp; &nbsp; &nbsp; "CustID": "D12345",</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; "Email":"example@htk.de",<br/> &nbsp; &nbsp; &nbsp; &nbsp; "Item": "08154711",<br/> &nbsp; &nbsp; &nbsp; &nbsp; "Variation": "0",<br/> &nbsp; &nbsp; &nbsp; &nbsp; "Ref": "",</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; "AbMenge":"0",<br/> &nbsp; &nbsp; &nbsp; &nbsp; "Price": "123,45",</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; "Discount": "10,00",<br/> &nbsp; &nbsp; }</div> <div>]</div>  
{{!}} style="width: 385px;" {{!}} <div>[</div>
|-
<div>&nbsp; &nbsp; &nbsp; &nbsp;{<br>&nbsp; &nbsp; &nbsp; &nbsp; "Company": "123",<br>&nbsp; &nbsp; &nbsp; &nbsp; "CustID": "D12345",</div>
| style="width: 102px;" | Response-Json
<div>&nbsp; &nbsp; &nbsp; &nbsp; "Email":"example@htk.de",<br>&nbsp; &nbsp; &nbsp; &nbsp; "Item": "08154711",<br>&nbsp; &nbsp; &nbsp; &nbsp; "Variation": "0",<br>&nbsp; &nbsp; &nbsp; &nbsp; "Ref": "",</div>
| style="width: 385px;" | <div>{</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"status":&nbsp;"FINISHED",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"successful":&nbsp;1,</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"inserts":&nbsp;0,</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"updates":&nbsp;1,</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"errors":&nbsp;0</div> <div>}</div>  
<div>&nbsp; &nbsp; &nbsp; &nbsp; "AbMenge":"0",<br>&nbsp; &nbsp; &nbsp; &nbsp; "Price": "123,45",</div>
|}
<div>&nbsp; &nbsp; &nbsp; &nbsp; "Discount": "10,00",</div>
 
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"IsBruttoPrice": true,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"AllowDiscount": true,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"UploadID": 1234657890<br>&nbsp; &nbsp; }</div>
<div>]</div>
{{!}}-  
{{!}} style="width: 102px;" {{!}} Response-Json
{{!}} style="width: 385px;" {{!}} <div>{</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;"status":&nbsp;"FINISHED",</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;"successful":&nbsp;1,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;"inserts":&nbsp;0,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;"updates":&nbsp;1,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;"errors":&nbsp;0</div>
<div>}</div>
{{!}}-
{{!}} style="width: 102px;" {{!}} <br>
{{!}} style="width: 385px;" {{!}} <div><br></div>
{{!}}}
&nbsp;
&nbsp;


Ein Delete Request, der alle Einträge löscht, die seit mindestens&nbsp;24 Stunden&nbsp;nicht mehr geupdated wurden. Bereinigt alte Einträge unmittelbar nach einer vollständigen B2BPrice Synchronisation
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
 
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
|-
| 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;" | &nbsp;
|-
| style="width: 102px;" | Response-Json
| style="width: 385px;" | <div><div>{</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; "message":"Es wurden xx Einträge gelöscht",</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; "success":true</div> <div>}</div> </div>
|}


{{{!}} 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;" {{!}} &nbsp;
{{!}}-
{{!}} style="width: 102px;" {{!}} Response-Json
{{!}} style="width: 385px;" {{!}} <div><div>{</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; "message":"Es wurden xx Einträge gelöscht",</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; "success":true</div>
<div>}</div></div>
{{!}}}
&nbsp;
&nbsp;


Es können auch gezielt einzelne Preise gelöscht werden:
Es können auch gezielt einzelne Preise gelöscht werden:


{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
{{{!}} style="width: 500px;" border="1" cellspacing="1" cellpadding="1"
|-
{{!}}-  
| style="width: 102px;" | Route
{{!}} style="width: 102px;" {{!}} Route
| style="width: 385px;" | /api/v3/omniseller/b2bpricesDeleteSpecific
{{!}} style="width: 385px;" {{!}} /api/v3/omniseller/b2bpricesDeleteSpecific
|-
{{!}}-  
| style="width: 102px;" | Request-Tpye
{{!}} style="width: 102px;" {{!}} Request-Tpye
| style="width: 385px;" | POST
{{!}} style="width: 385px;" {{!}} POST
|-
{{!}}-  
| style="width: 102px;" | Request-Json
{{!}} style="width: 102px;" {{!}} Request-Json
| style="width: 385px;" | <div>[{<br/> &nbsp; &nbsp; &nbsp; &nbsp; "Company": "123",<br/> &nbsp; &nbsp; &nbsp; &nbsp; "CustID": "D12345",<br/> &nbsp; &nbsp; &nbsp; &nbsp; "Item": "08154711",<br/> &nbsp; &nbsp; &nbsp; &nbsp; "Variation": "0"<br/> &nbsp; &nbsp; }</div> <div>]</div>  
{{!}} style="width: 385px;" {{!}} <div>[{<br>&nbsp; &nbsp; &nbsp; &nbsp; "Company": "123",<br>&nbsp; &nbsp; &nbsp; &nbsp; "CustID": "D12345",<br>&nbsp; &nbsp; &nbsp; &nbsp; "Item": "08154711",<br>&nbsp; &nbsp; &nbsp; &nbsp; "Variation": "0"<br>&nbsp; &nbsp; }</div>
|-
<div>]</div>
| style="width: 102px;" | Response-Json
{{!}}-  
| style="width: 385px;" | <div>{</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"status":&nbsp;"FINISHED",</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"successful":&nbsp;1,</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;"errors":&nbsp;0,</div> <div>&nbsp; &nbsp; "deleted":1</div> <div>}</div>  
{{!}} style="width: 102px;" {{!}} Response-Json
|-
{{!}} style="width: 385px;" {{!}} <div>{</div>
| style="width: 102px;" | &nbsp;
<div>&nbsp;&nbsp;&nbsp;&nbsp;"status":&nbsp;"FINISHED",</div>
| style="width: 385px;" | &nbsp;
<div>&nbsp;&nbsp;&nbsp;&nbsp;"successful":&nbsp;1,</div>
|}
<div>&nbsp;&nbsp;&nbsp;&nbsp;"errors":&nbsp;0,</div>
<div>&nbsp; &nbsp; "deleted":1</div>
<div>}</div>
{{!}}-  
{{!}} style="width: 102px;" {{!}} &nbsp;
{{!}} style="width: 385px;" {{!}} &nbsp;
{{!}}}
&nbsp;
<div class="mw-parser-output">&nbsp;</div>


&nbsp;
<div class="mw-parser-output">&nbsp;</div> </div> </div> </div> </div> </div>
==== Kundenimport ====
==== Kundenimport ====


1.346

Bearbeitungen

Navigationsmenü