Products

Get products

Returns a paginated list of all products

/products

Example JSON response

{
  "status": 200,
  "success": true,
  "data": [
    {
      "id": 4662,
      "name": "Base"
      "price": 49900,
      "currency": "sek",
      "vat_rate": 2500,
      "interval": "month",
    },
    {
      "id": 4663,
      "name": "Pro"
      "price": 79900,
      "currency": "sek",
      "vat_rate": 2500,
      "interval": "month",
    },
  ],
  "pagination": {
    "count": 2,
    "total": 2,
    "perPage": 50,
    "currentPage": 1,
    "totalPages": 1,
    "links": []
  }
}

Get a product

Returns a paginated list of all customers

/product/4663

Example JSON response

{
  "status": 200,
  "success": true,
  "data": {
      "id": 4663,
      "name": "Pro"
      "type": "recurring_donation",
      "price": 79900,
      "currency": "sek",
      "vat_rate": 2500,
      "interval": "month",
  }
}
Svarade detta på din fråga? Tack för din feedback Det var ett problem att skicka din feedback

Behöver du fortfarande hjälp? Kontakta oss Kontakta oss