CreditReason
Create Credit Reason
Changed onCreate a new Credit Reason for your Organization. When you've created a Credit Reason, it becomes available as a credit type for adding Credit line items to Bills. See Credits.
post/organizations/{orgId}/picklists/creditreasons
Request
- Base URLhttps://api.m3ter.com
- AuthOAuth 2Authorization codehttps://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize, token URL https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/tokenClient credentialsToken URL /oauth/token
- TypeScripthttps://skmtc.dev/m3ter-com/apis/m3ter-api/docs/organizations/:orgId/picklists/creditreasons/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
orgIdstring required
UUID of the organization. The Organization represents your company as a direct customer of the m3ter service.
Request body
Example request
{
"code": "code"
}Response
Return the created Credit Reason
Changes
- breaking
the
////request property type changed from no type toobject - breaking
the
////response's property type changed from no type toobjectfor status - breaking
the
response's property type changed from no type toobjectfor status
- breaking
- breaking
the response property
////////became optional for the status - breaking
the response property
////became optional for the status
- breaking