POST /api/partners
Request Body Parameters
Attribute Name | Summary | Type | Required | Possible Values |
---|---|---|---|---|
type | Partner type | String | Yes | "is_supply" "is_demand" |
name | Partner name | String | Yes |
Sample Request
curl -X POST \ https://api.cedato.com/api/partners \ -H 'accept: application/json' \ -H 'api-version: 1' \ -H 'content-type: application/x-www-form-urlencoded' \ -H 'authorization: Bearer ' --data-urlencode 'type=is_demand' \ --data-urlencode 'name=Test Partner'
Sample Response
{ "status": "OK", "data": { "partner": { "type": "is_demand", "name": "Test Partner", "partnerId": 2024 } } }
Comments
0 commentsPlease sign in to leave a comment.