Create a custom PhaxCode
Method
Path
phax_codes
Formats
| Extension | MIME Type | Description |
|---|---|---|
| .json | application/json | JSON response |
| .png | image/png | Barcode image |
Request Parameters
| Name | Type | Description |
|---|---|---|
| metadata | string | Custom metadata to be associated with this barcode. |
Response
If format is .json (default), a JSON object with success, message, and data attributes is returned.
The data attribute contains one element, identifier, which is the identifier of the PhaxCode.
If the format is .png, the image data is dumped in the response.