POST api2/prices.json
Create a prices
Request Information
URI Parameters
None.
Body Parameters
Price
api_rootName | Description | Type | Additional information |
---|---|---|---|
entry | PriceModels |
None. |
Request Format
{ "entry": { "title": "sample string 2", "company_id": 1, "valid": 1, "assignment": 1, "modified_at": "2024-12-21T16:59:52.508896+01:00", "pay_what_you_want": true, "type": 64, "currencies": [ { "currency": "usd", "id": 2, "price": 3 }, { "currency": "usd", "id": 2, "price": 3 } ], "countries": [ { "country": null, "country_name": null, "country_code": null, "id": 4, "price": 5 }, { "country": null, "country_name": null, "country_code": null, "id": 4, "price": 5 } ] } }
Response Information
Resource Description
Created price
api_rootName | Description | Type | Additional information |
---|---|---|---|
entry | PriceModels |
None. |
Response Format
{ "entry": { "id": 1, "title": "sample string 2", "created_at": "2024-12-21T16:59:52.508896+01:00", "company_id": 1, "valid": 1, "assignment": 1, "modified_at": "2024-12-21T16:59:52.508896+01:00", "pay_what_you_want": true, "type": 64, "currencies": [ { "currency": "usd", "id": 2, "price": 3 }, { "currency": "usd", "id": 2, "price": 3 } ], "countries": [ { "country": null, "country_name": null, "country_code": null, "id": 4, "price": 5 }, { "country": null, "country_name": null, "country_code": null, "id": 4, "price": 5 } ] } }