0
私は広場でのトランザクションからこの商品説明/情報を取得する方法を疑問に思っスクエア接続API
からアイテム名を取得します。私にとって、でも使用:
{
"transaction": {
"id": "BZDxxxxxx",
"location_id": "3PBxxxxx",
"created_at": "2016-10-14T22:55:33Z",
"tenders": [
{
"id": "VJO1rxxxxx",
"location_id": "3PBxxxx",
"transaction_id": "BZDxxxxxx",
"created_at": "2016-10-14T22:55:31Z",
"amount_money": {
"amount": 2800,
"currency": "USD"
},
"processing_fee_money": {
"amount": 0,
"currency": "USD"
},
"type": "OTHER"
}
],
"product": "REGISTER",
"client_id": "1E7xxxx"
}
}
はどのようにしていることを項目名に上に返されているものから行く:
'/v2/locations/{0}/transactions/{1}'.format(LOC_ID, tid)
することは、私は完全に匿名/役に立たない情報を取得する代わりに、任意の項目名を返しませんウェブサイトの取引リストに表示されますか?
電子商取引の箇条書きのために私たちの新しい注文のAPIをチェックアウト:https://medium.com/square-corner-blog/building-for-an-omni-channel-business-with-squares- apis-has-never-been-easy-3b5e0977741a – tristansokol