DAJI OPEN PLATFORM
中文
PRICE
CONSOLE
  1. Capability Specifications
  • Introduction
    • I. Learn About DAJI
    • II. Become a developer
    • III. Get Access Key and Access Secret
    • IV. Start Your Application Development
    • V. Frequently Asked Question
    • VI. Plans & Pricing
  • 1688 - Adapted Capabilities
    • Capability Specifications
      • Request Signature
      • Enum Type
      • Message Notification
      • Message Notification - Signature
    • Integration Testing
      • 1688 Business Opportunity
        • Query Ranking List
        • Query Daily Product Sales Trend
      • 1688 Product Search
        • Upload image to get imageId
        • Image Search
        • Keyword Search
        • Product Detail Search
        • Shop Search
        • Product Shipping Query
        • Category Query
        • Product Detail Search - supports short links
      • 1688 Order Manage
        • Preview Order
        • Create Order
        • Cancel Order
        • Confirm Receipt
        • Query Order Detail
        • Query Order List
      • 1688 Order Pay
        • Get payment links for orders in batches
        • Protocol Pay
      • Other API
        • Multilingual Search Navigation
  • Taobao - Adapted Capabilities
    • Capability Specifications
      • Request Signature
      • Enum Type
      • Message Notification
      • Message Notification - Signature
    • Integration Testing
      • Taobao Order Manage
        • Product ID Mapping
        • Product Preview
        • Create Order
        • Cancel Order
        • Query Order
      • Taobao Order Pay
        • Protocol Pay
      • Taobao Product Search
        • Image upload By Get
        • Image Search
        • Keyword Product Search
        • Shop Search
        • Product Detail Search V2
        • Ranking Type Search
        • Ranking Product Search
        • Product Shipping Query V2
        • Product Detail Search - supports short links
        • Batch Product Shipping Query V2
  • Poizon V2.0 - Adapted Capabilities
    • Capability Specifications
    • Integration Testing
      • Poizon V2.0 Product Search
        • Keyword Search
        • Product Detail
      • Poizon V2.0 Order Manage
        • Create Order & Payment
        • Query Order Info
        • Cancel Order
      • Poizon V2.0 Logistics
        • Query Logistics Trace
      • Poizon V2.0 Balance Query
        • Balance Query
  1. Capability Specifications

Message Notification

Note: This message cannot guarantee the ordering of messages received by developers. Therefore, after receiving this message, please use the "Query Order API" to perform a reverse lookup before carrying out related business processing.

I. Introduction#

1.
Message delivery method: POST form (non-JSON)
2.
Request parameters sent:
message: String // Message content
_dj_signature: String // Signature verification (HmacSHA1)
3.
Example:
image.png
4.
Callback URL configuration
Log in to the Daji Open Platform management interface, select [App List], and then click the [Edit] button
image.png
In the dialog box, enter the "Callback URL"
image.png

II. Order Status Change#

Message type: message_type=3
Trigger scenario: Taobao / Tmall purchase order status change. It only includes order status change push: pending payment, pending shipment, shipped, closed.
Message example:
Business field description:
AttributeTypeDescription
business_timeNumberStatus change time, 1650939687564
outer_purchase_idStringISV purchase order number, FY20220426002
purchase_idNumberTaobao purchase main order ID, 200002638011
seller_idNumberDistributor ID, 2100000927014
sku_listObject[]"item_id": Item ID; "logistic_company_name": Logistics company name; "logistic_number": Logistics tracking number; "order_line_no": Taobao sub-order number; "sku_id": Product specification ID; "status": Taobao sub-order status;
statusStringBULIDING - Creating, WAIT_BUYER_P - Waiting for payment, WAIT_SELLER_SEND_GOODS - Paid, waiting for shipment, WAIT_BUYER_CONFIRM_GOODS - Paid, shipped, TRADE_CLOSED - Transaction closed

III. Order Price Change#

Message type: message_type=8
Trigger scenario: When an order is created and the customer contacts the Taobao seller to negotiate and change the order price, if the seller successfully changes the price, this message will be pushed to the distributor. Note that orders after payment do not support order price changes.
Message example:
Business field description:
AttributeTypeDescription
salesOrderIdStringISV purchase order number, 500000-GSP2021031415594
salesSellerIdNumberDistributor ID, FY20220426002
purchaseOrderIdNumberTaobao main order ID, 200002372069
purchaseOrderLineIdNumberTaobao sub-order ID, 200002372070
Notes on price changes:
When an order is created and it is considered possible that the price may be changed, contact the Taobao seller to change the order price. Orders after payment do not support order price changes.
Some products have business-specific rules, so not all products support price changes.
Some orders have a very short Taobao closing time (such as 30 minutes). If payment is not made before the timeout, the system will perform risk control interception during order placement (after the price change, the order has already been closed and a new order has been regenerated). In this case, you need to contact the Taobao seller again to change the price of the new order.
If you have any other questions during the operation, you can directly consult the relevant technical person in charge.

Previous
Enum Type
Next
Message Notification - Signature
Built with