Sha256: 8d5e7f90e8680afc555191f665b7430e255168b7f331ade6ae77706dc9e59708

Contents?: true

Size: 1.62 KB

Versions: 9

Compression:

Stored size: 1.62 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.yotpo.com/apps/3ovRYNIb6OIAI0ddS7EfpYkHpi0oTKl6bj82Vjiy/purchases/mass_create
    body:
      encoding: UTF-8
      string: '{"utoken":"Ufo5XkKXNsuh0k9ZMPndRv4DlV9324ptg730KKqC","platform":null,"orders":[{"email":"another@one.com","customer_name":"Another
        Name","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:
      - c32ec0e70c07402aaf098ecb0a8b0acf
      X-Runtime:
      - '0.016271'
      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:39 GMT
recorded_with: VCR 2.9.3

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
yotpo-1.0.6 spec/cassettes/create_new_purchases.yml
yotpo-1.0.5 spec/cassettes/create_new_purchases.yml
yotpo-1.0.4 spec/cassettes/create_new_purchases.yml
yotpo-1.0.3 spec/cassettes/create_new_purchases.yml
yotpo-1.0.1 spec/cassettes/create_new_purchases.yml
yotpo-1.0.0 spec/cassettes/create_new_purchases.yml
yotpo-0.1.0 spec/cassettes/create_new_purchases.yml
yotpo-0.0.10 spec/cassettes/create_new_purchases.yml
yotpo-0.0.9 spec/cassettes/create_new_purchases.yml