Create or list order referrers.
Lists referrers with the desired columns/attributes.
/rest/orders/referrers
Field | Type | Description |
---|---|---|
columns | String[] |
The desired columns/attributes of the order referrer to be loaded. |
List
Field | Type | Description |
---|---|---|
id | Float |
The ID of the order referrer |
isEditable | Bool |
Flag that indicates if this referrer can be updated as well as deleted or not
|
backendName | String |
The backend name of the referrer |
name | String |
The public name of the referrer as it is displayed e.g. on documents |
orderOwnerId | Int |
The user ID of whoever owns new orders from this referrer |
isFilterable | Bool |
Flag that indicates if this referrer can be used as a filter or not
|
origin | String |
The origin of this referrer |
Code | Exception | Description |
---|---|---|
401 | League\OAuth2\Server\Exception\AccessDeniedException |
The resource owner or authorization server denied the request. |
401 | League\OAuth2\Server\Exception\InvalidRequestException |
The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Check the "access token" parameter. |
Create an order referrer. The ID can be specified, a parent ID can be specified to create a sub referrer or if no ID is specified, a referrer ID will be assigned automatically. If an ID is specified, the ID may not be used already. If the ID is used already, the referrer will only be created. If the ID is automatically assigned, the first ID that has not been used before will be set. If the ID is not specified, but a parent referrer ID is given, then the new referrer ID will be a sub referrer of the given parent.
/rest/orders/referrers/{parentReferrerId?}
Field | Type | Description |
---|---|---|
data | String[] |
The attributes of the order referrer to be created. |
Field | Type | Description |
---|---|---|
id | Float |
The ID of the order referrer |
isEditable | Bool |
Flag that indicates if this referrer can be updated as well as deleted or not
|
backendName | String |
The backend name of the referrer |
name | String |
The public name of the referrer as it is displayed e.g. on documents |
orderOwnerId | Int |
The user ID of whoever owns new orders from this referrer |
isFilterable | Bool |
Flag that indicates if this referrer can be used as a filter or not
|
origin | String |
The origin of this referrer |
Code | Exception | Description |
---|---|---|
401 | League\OAuth2\Server\Exception\AccessDeniedException |
The resource owner or authorization server denied the request. |
401 | League\OAuth2\Server\Exception\InvalidRequestException |
The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Check the "access token" parameter. |