| Requires any of the roles: | Merchant, Reseller |
| PUT | /registers/{registerKey} | Updates a single register for the merchant requester by updating all fields to match the request (effectively, this replaces the resource, see PATCH to edit individual values). Please supply all values. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RegisterKey | path | int | Yes | The key of the register to be edited. |
| ActivationStatus | model | ActivationStatus? | Yes | The register status.Allowable Values
|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RegisterName | model | string | No | The register name. |
| TerminalNumber | model | string | No | The terminal number. |
| TerminalNumber2 | model | string | No | The second terminal number. |
| ProcessorId | model | string | Yes | The processor ID. |
| Pending | |
| Active | |
| Inactive | |
| Deleted |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RegisterKey | model | int | No | The unique identifier for this register. |
| MerchantKey | model | int? | No | The key of the merchant that is associated with this register. |
| RegisterNumber | model | string | No | The number of the register. |
| RegisterName | model | string | No | The name of the register. |
| TerminalNumber | model | string | No | The primary terminal number for the register. |
| TerminalNumber2 | model | string | No | An additional terminal number for the register. |
| ProcessorId | model | string | No | Indicates the processor used by the register. |
| ActivationStatus | model | ActivationStatus? | No | Indicates the current activation status of the record. |
| LastUpdateTimestamp | model | DateTime | No | Indicates when the register was last edited. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /registers/{registerKey} HTTP/1.1
Host: syntch.simpay.net
Accept: application/json
Content-Type: application/json
Content-Length: length
{"RegisterKey":0,"ActivationStatus":"Pending","RegisterName":"String","TerminalNumber":"String","TerminalNumber2":"String","ProcessorId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"RegisterKey":0,"MerchantKey":0,"RegisterNumber":"String","RegisterName":"String","TerminalNumber":"String","TerminalNumber2":"String","ProcessorId":"String","ActivationStatus":"Pending","LastUpdateTimestamp":"0001-01-01T00:00:00.0000000"}