Price Units
Update price unit
Changed onUse when renaming or updating metadata for a price unit. Code is immutable once created.
put/prices/units/{id}
Request
- Base URLhttps://us.api.flexprice.io/v1
- URLhttps://us.api.flexprice.io/v1/prices/units/{id}
- AuthAPI key in header x-api-key
Path parameters
idstring required
Price unit ID
Request body
Response
OK
Changes
- warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status
- warning
- 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 tostringfor status - warning
added the new
archivedenum value to theresponse property for the response status - warning
added the new
deletedenum value to theresponse property for the response status - warning
added the new
publishedenum value to theresponse property for the response status
- breaking