Create Partner

Have more questions? Submit a request

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
         }
     }
}

Related articles

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.