Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX][PHP] Refactor API Endpoints To Add Product ID #588

Open
amowogbaje opened this issue Aug 24, 2024 · 0 comments
Open

[FIX][PHP] Refactor API Endpoints To Add Product ID #588

amowogbaje opened this issue Aug 24, 2024 · 0 comments

Comments

@amowogbaje
Copy link
Contributor

###Description
To get Product ID from here

Route

GET: /api/v1/products/{id}

Parameters
id
string($uuid)
(path)

Response Body

  {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "product_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "subscription_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "type": "product",
    "status": "Pending",
    "partners": "Paystack",
    "amount": 0,
    "reference": "string",
    "created_at": "2024-08-24T16:35:32.987Z",
    "paid_at": "2024-08-24T16:35:32.987Z",
    "modified_at": "2024-08-24T16:35:32.987Z"
  }
]```
@amowogbaje amowogbaje mentioned this issue Aug 24, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant