Get Transactions

Returns all vendor's transactions

/v3/transactions

GET https://apis.sandbox.flexshopper.com/v3/transactions

Query Parameters

Headers

{
  "data": {
    "transactions": [
      {
        "id": "eyJhbGcfasdvczOiJIUzI1NiIsInR5cCI6IkpXVC...",
        "shippingCost": 1.23,
        "createdAt": "2018-03-19T15:51:27.080Z",
        "lease": {
          "id": "eyJhbGcfasdvczOiJIUzI1NiIsInR5cCI6IkpXVC...",
          "status": "signed"
        },
        "items": [
          {
            "description": "iPad Mini",
            "sku": "abc123",
            "brand": "Apple",
            "cost": 100.23,
            "quantity": { 
              ordered: 1, 
              shipped: 1 
            }
          }
        ]
      }
    ],
    {
      "meta": {
      "count": 1,
      "totalPages": 1,
      "page": 1,
      "limit": 20
    }
  }
}

Response Parameters

A successful request returns the HTTP 200 OK status code and a JSON response body that shows all transactions created.

Last updated