gpt4 book ai didi

ebay-api - eBay GetOrders 未付订单

转载 作者:行者123 更新时间:2023-12-01 08:14:21 25 4
gpt4 key购买 nike

我正在尝试从 eBay 中提取付款日期为空的订单列表。这是我当前的查询:

http://developer.ebay.com/devzone/xml/docs/reference/ebay/getorders.html

eBay 可以退回未付款的订单吗?我需要添加参数吗?

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<RequesterCredentials xmlns="urn:ebay:apis:eBLBaseComponents">
<eBayAuthToken>XX</eBayAuthToken>
</RequesterCredentials>
</soap:Header>
<soap:Body>
<GetOrdersRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<MessageID>XX</MessageID>
<Version>779</Version>
<CreateTimeFrom>2015-08-05T00:00:00</CreateTimeFrom>
<CreateTimeTo>2015-08-05T23:59:00</CreateTimeTo>
<OrderRole>Seller</OrderRole>
<OrderStatus>All</OrderStatus>
<Pagination>
<EntriesPerPage>50</EntriesPerPage>
<PageNumber>1</PageNumber>
</Pagination>
</GetOrdersRequest>
</soap:Body>
</soap:Envelope>

最佳答案

我不熟悉 GetOrders 请求,但您肯定可以使用 GetMyeBaySelling API 并将“AwaitingPayment”设置为 OrderStatusFilter 来获取尚未付款的 Crimothy 列表。

http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/GetMyeBaySelling.html

这个简单的请求应该能满足您的需求:

<?xml version="1.0" encoding="utf-8"?>
<GetMyeBaySellingRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>... </eBayAuthToken>
</RequesterCredentials>
<SoldList>
<Include>true</Include>
<Pagination><EntriesPerPage>100</EntriesPerPage>
<PageNumber>1</PageNumber>
</Pagination>
<OrderStatusFilter>AwaitingPayment</OrderStatusFilter>
</SoldList><DetailLevel>ReturnAll</DetailLevel>
<Version>935</Version>
<WarningLevel>High</WarningLevel>
</GetMyeBaySellingRequest>

关于ebay-api - eBay GetOrders 未付订单,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32355703/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com