Taobao open platform store order management oAuth2.0 order synchronization acquisition interface solution

Normally, in order to develop oAuth2.0 for sellers' orders on Taobao/Tmall platform, we first need to do the following things.
1. Register a developer account and have application tags related to order management; Ju Shi Pagoda needs to be deployed.
2. Then register an application key (App Key) for each Taobao application.
3. Download Taobao/Tmall API SDK and master the basic API knowledge and calls.
4. Use SDK interfaces and objects to pass in AppKey or necessary Time to obtain and pass in SessionKey for program development.
5. Use the document center and API testing tools of the Taobao open platform to test the interface. In order to understand the return information, it is convenient for the program to obtain it.
6. You don’t need the above five points, you can click ** Register ** to get the key and secret

Order management docking scheme: Orders are the seller’s core data. Through this scheme, timely synchronization of orders and conversion of acquired information into business semantics are displayed to the seller for subsequent delivery processing.

Solution introduction: The order management scenario includes order acquisition, logistics delivery, and refund and return. The daily work scenes of the merchants are all around the order, and the timeliness and completeness of the order acquisition are ensured through the system docking, so as to empower and improve the efficiency of the merchant's order fulfillment operation.

Program details:
Help merchants achieve timely order synchronization, order classification identification, and intelligent consolidation of orders; according to store product classification, multi-dimensional screening and classification of store activities. And through intelligent classification-ordering-stocking-shipping-logistics SMS care, to provide merchants with high-quality integrated services throughout the entire chain of the ordering process.
Insert picture description here
Business process: The
general business process of Taobao orders
1) When a consumer creates an order, the seller can obtain an unpaid order to initiate payment;
2) After the consumer completes the payment, the seller obtains the order for the order review process, and then starts shipping after completion.
3) The seller starts the warehouse packing operation, and returns the waybill number to Taobao after the delivery is completed, and the order will enter the delivery state;
4) After the consumer receives the goods, the Taobao confirms the receipt, and the transaction is completed and the payment is sent to the merchant.
Insert picture description here

  1. Click on the registered account to get the key and secret
  2. Test tool and callback format:
    2.1. Test tool: https:// click to register /test/?api_type=taobao&api_name=custom to
    open the test tool, please enter the KEY and secret you applied for.
    2.2. Whether the
    SDK SDK does not affect the official use of customers, our interface is called in HTTP mode, no matter which programming language is available, it is very convenient to use, just refer to the "test document" for the calling method. To use the SDK, open: https://open.onebound.cn/help/api/taobao.custom.html There is an API SDK download at the bottom of the page.
    3 Call interface and parameter description:
    3.1 API gateway: https://api. Click to register/ taobao / api_call.php
    3.2 API system parameter format:
    key=[key]&secret=[secret]&api=[Taobao open platform interface name] &api_name=custom&session=[Authorized session]&[More request parameters and values]
    3.3 API parameter description:
    key: call key (obtain by logging in to the API console)
    secret: call key (obtain by logging in to the API console)
    api_name:API The name can only be a fixed value. custom
    session: authorized to get the session_id (manually obtained during testing, and can be automatically obtained and updated by callback in official)
    api: Taobao open platform interface name, for example, the order query interface is: taobao.trades.sold. get
    [Other more request parameters and values]: This corresponds to the parameter "api". For each different Taobao open platform interface, the corresponding [request parameter] is different. According to Taobao official website API document, for example, the official website document of taobao.trades.sold.get interface is: https://open.taobao.com/api.htm?docId=46&docType=2, the document shows [Request parameter] Yes fields, start_created, end_created, status, etc., can be directly added to [Other more request parameters and values], the following is an example (where fields= are other request parameters, please see the picture below):
    https://api.onebound .cn/taobao/api_call.php?&key=[key]&secret=[secret]&api=taobao.trades.sold.get&api_name=custom&fields=tid,type,status,payment,orders,rx_audit_status&&session=[authorized session]
    Insert picture description here

Guess you like

Origin blog.csdn.net/wx_19970108018/article/details/114636832