Create a new CP codeCopy Pagepost https://{hostname}/papi/v1/cpcodesQuery ParamscontractIdstringrequiredgroupIdstringrequiredaccountSwitchKeystringBody ParamscpcodeNamestringrequiredproductIdstringrequiredHeadersPAPI-Use-PrefixesstringenumrequiredtruefalseAllowed:truefalseacceptstringenumDefaults to application/jsonapplication/jsonapplication/problem+jsonAllowed:application/jsonapplication/problem+jsonResponses 201The response provides a URL link to the newly created CP code. 400Bad request. 401Unauthorized. 403Forbidden. 404Not found. 405Method not allowed. 406Not acceptable. 415Unsupported media type. 422Unprocessable content. 429Too many requests. 500Internal server error.Updated about 2 months ago