Sha256: c8b0a2e32d7bee473e09f715a8c8739613510fde7ce2321a2f24b417170c0aae

Contents?: true

Size: 1.61 KB

Versions: 3

Compression:

Stored size: 1.61 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.yotpo.com/apps/3ovRYNIb6OIAI0ddS7EfpYkHpi0oTKl6bj82Vjiy/purchases
    body:
      encoding: UTF-8
      string: '{"utoken":"Ufo5XkKXNsuh0k9ZMPndRv4DlV9324ptg730KKqC","email":"some@one.com","customer_name":"Customer
        Name","order_date":null,"currency_iso":null,"order_id":"123","platform":"shopify","products":[{"p1":{"url":"http://example_product_url1.com","name":"product1","image":"http://example_product_image_url1.com","description":"this
        is the description of a product"}}]}'
    headers:
      User-Agent:
      - Faraday v0.9.1
      Yotpo-Api-Connector:
      - Ruby0.0.8
      Content-Type:
      - application/json
  response:
    status:
      code: 200
      message: OK
    headers:
      Access-Control-Allow-Credentials:
      - 'true'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Type:
      - application/json; charset=utf-8
      Date:
      - Sun, 19 Jul 2015 07:31:39 GMT
      Etag:
      - '"ff338c05e925e0da825f92d06e112107"'
      P3p:
      - policyref="/w3c/p3p.xml", CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi
        CONi HIS OUR IND CNT", CP="CAO PSA OUR"
      Server:
      - nginx
      Status:
      - 200 OK
      X-Request-Id:
      - 9d186752f753abed9ce9bb2a1ef08aff
      X-Runtime:
      - '0.024236'
      X-Ua-Compatible:
      - IE=Edge,chrome=1
      Content-Length:
      - '27'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"code":200,"message":"OK"}'
    http_version: 
  recorded_at: Sun, 19 Jul 2015 07:31:38 GMT
recorded_with: VCR 2.9.3

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yotpo-0.1.0 spec/cassettes/create_new_purchase.yml
yotpo-0.0.10 spec/cassettes/create_new_purchase.yml
yotpo-0.0.9 spec/cassettes/create_new_purchase.yml