Products
Create a product, optionally with its price (default_price_data)
post/products
Request
- Base URL: https://shieldz.cash/api/v1
- URL: https://shieldz.cash/api/v1/products
- Auth: HTTP bearer
Request body
Example request
{
"name": "Blue hoodie",
"description": "Heavyweight cotton, unisex.",
"image_url": "https://yourstore.com/img/hoodie.jpg",
"default_price_data": {
"unit_amount_usd_cents": 4999
}
}Response
Created
Example response
{
"id": "prod_3hQ8ZpW2Nc6Ty0Lk",
"default_price": {
"id": "price_9fK2LmQx7Rt4Vb1N"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.