POST /product
Servers
- https://api.paystack.co
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
limited |
Boolean | No |
Set to true if the product has limited stock. Leave as false if the product has unlimited stock |
price |
Integer | Yes |
Price should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR |
name |
String | Yes |
Name of product |
description |
String | Yes |
The description of the product |
quantity |
Integer | No |
Number of products in stock. Use if limited is true |
currency |
String | Yes |
Currency in which price is set. Allowed values are: NGN, GHS, ZAR or USD |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.