Beide Seiten der vorigen Revision
Vorhergehende Überarbeitung
|
|
de:api_start [2022/06/28 15:13] simon |
de:api_start [2022/06/28 15:29] simon |
>{{:ru:api_20.png?700|}} | >{{:ru:api_20.png?700|}} |
| |
====== Verkaufsplattform====== | ====== Verkaufsplattformen ====== |
<WRAP right box 35%> | <WRAP right box 35%> |
**Curl** | **Curl** |
>//Vorgänge mit Marktplätzen// | >//Vorgänge mit Marktplätzen// |
> | > |
>GET /marketplace Return all marketplaces - Provides information about the connection to the customer marketplaces. | >GET /marketplace Return all marketplaces - liefert Informationen über den Anschluss an die Kundenmarktplätze. |
> | > |
>{{:ru:api_21.png?600|}} | >{{:ru:api_21.png?600|}} |
---- | ---- |
| |
====== Order ====== | ====== Bestellungen ====== |
| |
>//Operations with orders// | >//Vorgänge mit Aufträgen// |
<WRAP right box 35%> | <WRAP right box 35%> |
**Curl** | **Curl** |
</WRAP> | </WRAP> |
> | > |
>Get /order Returns order - is used for getting information on order | >Get /order Returns order - wird verwendet, um Informationen über die Bestellung zu erhalten. |
> | > |
>{{:ru:api_22.png?600|}} | >{{:ru:api_22.png?600|}} |
-F 'ship_postal_code=28307 '</code> | -F 'ship_postal_code=28307 '</code> |
</WRAP> | </WRAP> |
>POST /order Create new order - is used for creating a new order | >POST /order Create new order - wird für die Erstellung eines neuen Auftrags verwendet. |
> | > |
>id - order ID. If the box "Send empty value" is checked ID is generated automatically. | >id - Bestell-ID. Wenn das Kästchen "Send empty value" markiert ist, wird die ID automatisch generiert. |
> | > |
>status_id - [[en:orderdescription|Status order ID]]. Check "Send empty value" box to set status automatically | >status_id - [[en:orderdescription|Status order ID]]. Aktivieren Sie das Kontrollkästchen "Send empty value", um den Status automatisch zu setzen. |
> | > |
>company_id - [[en:comp|Company ID]] on ysell.pro | >company_id - [[en:comp|Company ID]] auf ysell.pro. |
> | > |
>platform - platform that will be used for order creation | >platform - Plattform, die für die Auftragserstellung verwendet wird. |
> | > |
>platform_order_id - order Id on the platform | >platform_order_id - Bestell-Id auf der Plattform. |
> | > |
>purchase_date - order purchase date | >purchase_date - Bestellungskaufdatum. |
> | > |
>payment_date - order payment date | >payment_date - Zahlungsdatum der Bestellung. |
> | > |
>latest_ship_date - the last time period for order sending | >latest_ship_date - Der letzte Zeitraum für das Absenden der Bestellung. |
> | > |
>currency - currency | >currency - Währung. |
> | > |
>ship_name - receiver's name | >ship_name - Name des Empfängers. |
> | > |
>ship_email - receiver's email address | >ship_email - E-Mail Adresse des Empfängers. |
> | > |
>ship_addr1 - reciever's address | >ship_addr1 - Adresse des Empfängers. |
> | > |
>ship_city - receiver's city | >ship_city - Stadt des Empfängers. |
> | > |
>ship_postal_code - receiver's postal code | >ship_postal_code - Postleitzahl des Empfängers. |
> | > |
>ship_country - receiver's country | >ship_country - Land des Empfängers. |
> | > |
>ship_phone_number - receiver's phone number | >ship_phone_number - Rufnummer des Empfängers. |
| |
---- | ---- |
-H 'Authorization: Bearer ' | -H 'Authorization: Bearer ' |
</code> | </code> |
//Getting information on the order with ID 75// | //Informationen über die Bestellung mit ID 75 erhalten// |
</WRAP> | </WRAP> |
>GET /order/{ID} Return order by ID - is used for return information on the order | >GET /order/{ID} Return order by ID - wird benutzt um Informationen zur Bestellung zu erhalten. |
> | > |
>ID - indicate order ID | >ID - Bestell-ID angeben. |
> | > |
> {{:ru:api_25.png?600|}} | > {{:ru:api_25.png?600|}} |
-H 'Authorization: Bearer ' | -H 'Authorization: Bearer ' |
</code> | </code> |
//Getting information on the order with ID 75// | //Löschung des Auftrags mit ID 75// |
</WRAP> | </WRAP> |
>Delete /order/{ID} Delete Order by ID - is used for order deleting | >Delete /order/{ID} Delete Order by ID - wird zum Löschen von Aufträgen verwendet. |
> | > |
>ID - enter order ID | >ID - Bestell-ID eingeben. |
> | > |
>{{:ru:api_26.png?600|}} | >{{:ru:api_26.png?600|}} |
} | } |
</code> | </code> |
//Adding product to order with ID 70// | //Hinzufügen eines Produkts zu einer Bestellung mit ID 70// |
</WRAP> | </WRAP> |
>Post /order-item Create new order item - is used for adding position to the order | >Post /order-item Create new order item - wird für das Hinzufügen von Positionen zum Auftrag verwendet. |
> | |
>**order_id** - indicate order ID | >**order_id** - Auftragsnummer angeben. |
> | > |
>**asin** - ASIN of the product | >**asin** - ASIN des Produkts. |
> | > |
>**p_id** - product ID | >**p_id** - Produkt-ID. |
> | > |
>**product_name** - name of the product | >**product_name** - Name des Produkts. |
> | > |
>**sku** - SKU of the product | >**sku** - SKU des Produkts. |
> | > |
>**qty** - quantity of product in the order | >**qty** - Menge des Produkts in der Bestellung. |
> | > |
>**item_price** - price of a unit | >**item_price** - Preis einer Einheit. |
>{{:ru:api_27.png?600|}} | >{{:ru:api_27.png?600|}} |
| |
---- | ---- |
| |
====== Shipments ====== | ====== Sendungen ====== |
| |
>//Operations with shipments// | >//Vorgänge mit Sendungen// |
<WRAP right box> | <WRAP right box> |
**Curl** | **Curl** |
}, | }, |
</code> | </code> |
//Getting information on shipment 719-1// | //Informationen zur Sendung 719-1// |
</WRAP> | </WRAP> |
>**GET /prep-shipment Get prep shipment list** - используется получения информации о отправке с Преп-центра. is used for getting information on shipment from the Prep Center | >**GET /prep-shipment Get prep shipment list** - wird verwendet, um Informationen über den Versand vom Prep Center zu erhalten. |
> | > |
>**company_id** - company ID | >**company_id** - Unternehmens-ID. |
> | > |
>**shipment_num** - number of the shipment | >**shipment_num** - Nummer der Sendung. |
> | > |
>**shipment_type** - type of the shipment | >**shipment_type** - Art der Sendung. |
> | > |
>**shipment_type_description** - description of the shipment type | >**shipment_type_description** - Beschreibung der Versandart. |
> | > |
>**status** - status of the shipment | >**status** - Status der Sendung. |
> | > |
>**status_description** - description of the shiment status | >**status_description** - Beschreibung des Sendungsstatus. |
> | > |
>**total_cost** - price for the shipment processing | >**total_cost** - Preis für die Transportabwicklung. |
> | > |
>**declared_qty** - quantity of product units indicated by client | >**declared_qty** - Menge der vom Kunden angegebenen Produkteinheiten. |
> | > |
>**declared_box_qty** - quantity of boxes with product indicated by client | >**declared_box_qty** - Anzahl der Kartons mit dem vom Kunden angegebenen Produkt. |
> | > |
>**processed_qty** - quantity of product processed by the Prep Center | >**processed_qty** - Menge des vom Prep Center verarbeiteten Produkts. |
> | > |
>**messages** - text of memo to shipment | >**messages** - Mitteilung an den Versand. |
| |
| |
| |