1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Yahoo注文詳細API:取得項目について

Last updated at Posted at 2014-09-26

Yahoo注文詳細APIについてお教え下さい。
http://developer.yahoo.co.jp/webapi/shopping/orderInfo.html

上記仕様のうち、Pay(BillFirstName等)とShip(ShipFirstName等)の項目を指定したところ、
空白で返却されて参りました。

指定の方法が違うのでしょうか。

リクエスト内容

※実際のリクエストは改行無しで送信しています。
<Req>
<Target>
<OrderId>---</OrderId>
<Field>OrderId,OrderTime,PayDate,OrderStatus,DeviceType,PayMethod,PayType,BillLastName,BillFirstName,
BillLastNameKana,BillFirstNameKana,BillZipCode,BillPrefecture,BillCity,BillAddress1,BillAddress2,
BillPhoneNumber,BillMailAddress,ShipLastName,ShipFirstName,ShipLastNameKana,ShipFirstNameKana,
ShipZipCode,ShipPrefecture,ShipCity,ShipAddress1,ShipAddress2,ShipPhoneNumber,ShipRequestDate,
ShipRequestTime,TaxRatio,ShipCharge,PayCharge,GiftWrapCharge,UsePoint,Discount,TotalPrice,
BuyerComments,UnitPrice,CouponDiscount,Quantity</Field>
</Target>
<SellerId>---</SellerId>
</Req>

レスポンス内容

Array (
[@attributes] => Array (
[totalResultsAvailable] => 1
[totalResultsReturned] => 1
[firstResultPosition] => 1
)
[Result] => Array (
[Status] => OK
[OrderInfo] => Array (
[OrderId] => ---
[DeviceType] => 1
[OrderTime] => 2014-09-24T00:00:00+09:00
[OrderStatus] => 2
[BuyerComments] => Array()
[Pay] => Array (
[PayType] => 0
[PayMethod] => payment_a1
[PayDate] => Array()
[BillFirstName] => Array()
[BillFirstNameKana] => Array()
[BillLastName] => Array()
[BillLastNameKana] => Array()
[BillZipCode] => Array()
[BillPrefecture] => Array()
[BillCity] => Array()
[BillAddress1] => Array()
[BillAddress2] => Array()
[BillPhoneNumber] => Array()
[BillMailAddress] => Array()
)
[Ship] => Array(
[ShipRequestDate] => Array()
[ShipRequestTime] => Array()
[ShipFirstName] => Array()
[ShipFirstNameKana] => Array()
[ShipLastName] => Array()
[ShipLastNameKana] => Array()
[ShipZipCode] => Array()
[ShipPrefecture] => Array()
[ShipCity] => Array()
[ShipAddress1] => Array()
[ShipAddress2] => Array()
[ShipPhoneNumber] => Array()
)
[Item] => Array(
[UnitPrice] => 5965
[Quantity] => 1
[CouponDiscount] => Array()
)
[Detail] => Array(
[PayCharge] => 0
[ShipCharge] => 525
[GiftWrapCharge] => 0
[Discount] => 0
[UsePoint] => 0
[TotalPrice] => 6490
[TaxRatio] => 8
)
)
)

1
1
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?