Logo
API_DOC API Documentation

Create CP Code

POST https://{{host}}/papi/v1/cpcodes?contractId={{contractId}}&groupId={{groupId}}

 

Body PARAM

Key Datatype Required Description 
contractId
string
groupId
string



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'https://host/papi/v1/cpcodes?contractId=&groupId=?contractId=&groupId=' -H 'Content-Type: application/json' -d '{"productId":"productId","cpcodeName":"cpCodeName"}'

ENDPOINTS