Add and remove transmitters from the stock

Note that some of the features that can be controlled via the API are related to the permissions assigned to your access token (seller, customer etc. with subcategories). Please contact Skyresponse support if any Forbidden responses occur.

Add a new transmitter to the stock

In order to add a new transmitter to the stock you must know its ProductCategoryId and Product, which can be fetched as described in this tutorial (step 2).

POST /api/transmitters HTTP/1.1
Host: https://admin.skyresponse.com
Content-Type: application/json
Authorization: Bearer tkgY9yiM...plBp

{
  "ProductCategoryId": 1,
  "Product": 1,
  "TelephoneNumber": "+3801111111"
}

If you don’t know how to get the Authorization header, please proceed to the Authentication tutorial

If you provide the correct values, you should recieve an HTTP 202 Accepted response from the server.

{
  "data": {
    "transmitterId": 2610
  },
  "errors": null
}

Remove a transmitter from the stock

To remove an alarm transmitter from the stock, the DELETE HTTP method should be performed, where id is the ID of the transmitter to delete. Notice that you also have the list all trasmitters endpoint, to retrieve the id. Please check the full documentation section.

DELETE /api/transmitters/{id} HTTP/1.1
Host: https://admin.skyresponse.com
Content-Type: application/json
Authorization: Bearer tkgY9yiM...plBp

If you provide the correct values, you should recieve an HTTP 202 Accepted response from the server.

cURL example:

Example of add a new transmitter:

curl -X POST -H "Content-Type: application/json" 'https://admin.skyresponse.com/api/transmitters' -H "Authorization: Bearer PASTE_YOUR_TOKEN_HERE" -d '{"ProductCategoryId": 5, "Product": 1, "TelephoneNumber": "+38011111111"}'

Example of remove a specific transmitter:

curl -X DELETE 'https://admin.skyresponse.com/api/transmitters/1' -H "Authorization: Bearer PASTE_YOUR_TOKEN_HERE"

Full documentation:
Topics:

Add and remove transmitters from the stock

Note that some of the features that can be controlled via the API are related to the permissions assigned to your access token (seller, customer etc. with subcategories). Please contact Skyresponse support if any Forbidden responses occur.

Add a new transmitter to the stock

In order to add a new transmitter to the stock you must know its ProductCategoryId and Product, which can be fetched as described in this tutorial (step 2).

POST /api/transmitters HTTP/1.1
Host: https://admin.skyresponse.com
Content-Type: application/json
Authorization: Bearer tkgY9yiM...plBp

{
  "ProductCategoryId": 1,
  "Product": 1,
  "TelephoneNumber": "+3801111111"
}

If you don’t know how to get the Authorization header, please proceed to the Authentication tutorial

If you provide the correct values, you should recieve an HTTP 202 Accepted response from the server.

{
  "data": {
    "transmitterId": 2610
  },
  "errors": null
}

Remove a transmitter from the stock

To remove an alarm transmitter from the stock, the DELETE HTTP method should be performed, where id is the ID of the transmitter to delete. Notice that you also have the list all trasmitters endpoint, to retrieve the id. Please check the full documentation section.

DELETE /api/transmitters/{id} HTTP/1.1
Host: https://admin.skyresponse.com
Content-Type: application/json
Authorization: Bearer tkgY9yiM...plBp

If you provide the correct values, you should recieve an HTTP 202 Accepted response from the server.

cURL example:

Example of add a new transmitter:

curl -X POST -H "Content-Type: application/json" 'https://admin.skyresponse.com/api/transmitters' -H "Authorization: Bearer PASTE_YOUR_TOKEN_HERE" -d '{"ProductCategoryId": 5, "Product": 1, "TelephoneNumber": "+38011111111"}'

Example of remove a specific transmitter:

curl -X DELETE 'https://admin.skyresponse.com/api/transmitters/1' -H "Authorization: Bearer PASTE_YOUR_TOKEN_HERE"

Full documentation: