Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.28 KB | None | 0 0
  1. curl -X POST \
  2.   'https://sandbox.bluesnap.com/services/2/shopping-context?returnrepresentation=true' \
  3.   -H 'Authorization: Basic QVBJXzE1Njg3MDYwMzA1NjQ0OTM4OTU2OTpSOEF4Y2l5Q1hiNA==' \
  4.   -H 'Content-Type: application/xml' \
  5.   -H 'Postman-Token: c37b554c-96e1-4253-b6c8-ec772c1b5a16' \
  6.   -H 'cache-control: no-cache' \
  7.   -d '<shopping-context xmlns="http://ws.plimus.com">
  8.    <order-details>
  9.        <order>
  10.            <ordering-shopper>
  11.                <shopper-id>25257389</shopper-id>
  12.                <web-info></web-info>
  13.            </ordering-shopper>
  14.            <cart>
  15.                <cart-item>
  16.                    <sku>
  17.                        <sku-id>2519861</sku-id>
  18.                    </sku>
  19.                    <quantity>1</quantity>
  20.                </cart-item>
  21.            </cart>
  22.            <expected-total-price>
  23.                <amount>136221</amount>
  24.                <currency>VND</currency>
  25.            </expected-total-price>
  26.            <post-sale-info>
  27.                <invoices></invoices>
  28.            </post-sale-info>
  29.        </order>
  30.    </order-details>
  31.    <web-info>
  32.        <ip>118.70.126.84</ip>
  33.        <remote-host>shopbase.com</remote-host>
  34.        <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>
  35.    </web-info>
  36. </shopping-context>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement