Create Unique Code Group
Overview
Example Request
https://api.airship.co.uk/v1/unique_code/groupConfiguration
Headers
Field
Notes
Body
Field
Notes
Example Payload
{
"account_id": 2,
"unit_id": 14212,
"name": "test group"
}{
"id": 10616
}{
"message": "The given data was invalid.",
"errors": {
"name": [
"Sorry, You've all ready used this name on another unique code group in this unit."
]
}
}{
"message": "The given data was invalid.",
"errors": {
"unit_id": [
"Unit ID 2 does not exist or has been deleted on this account"
],
"name": [
"In order to add a name the unit id must also be correct"
]
}
}Last updated