Store hours

Use Utils to configure your stores hours.

The following table shows the content of the stores hours:

ResourceDescription
GET store/schedule/{storeId}Returns all regular store hours
GET store/schedule/{storeId}/holidayReturns all holiday hours
GET store/schedule/{storeId}/specialReturns all the hours of the store's special days
POST store/schedule/{storeId}Create a time slot on a regular schedule day of the store
POST store/schedule/{storeId}/holiday/{holidayDayId}Create a time slot on a holiday
POST store/schedule/{storeId}/specialCreate a special day for the store
POST store/schedule/{storeId}/special/{specialDayId}Create a time slot on a store's special day
PUT store/schedule/{storeId}/{storeScheduleId}Update a time slot
DELETE store/schedule/{storeId}/{storeScheduleId}Delete a time slot
DELETE store/schedule/{storeId}/special/{specialDayId}Delete a special day

GET store/schedule/{storeId}

Use this endpoint to get all your store's regular hours

Endpoint URL

Use this URL to call the endpoint:

https://{COUNTRY_DOMAIN}/api/rest-ops-utils/store/schedule/{storeId}

Sample Request

This is an example of an API request using this endpoint:

GET https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999

This is an example of the request:

URL url = new URL("https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("GET"); connection.setRequestProperty("User-Agent", "Mozilla/5.0"); connection.setRequestProperty("Content-Type", "application/json"); connection.setRequestProperty("Accept", "application/json"); connection.setRequestProperty("x-authorization", "Bearer YOUR_TOKEN"); try (BufferedReader br = new BufferedReader(new InputStreamReader(connection.getInputStream(), StandardCharsets.UTF_8))) { StringBuilder response = new StringBuilder(); String responseLine; while ((responseLine = br.readLine()) != null) { response.append(responseLine.trim()); } System.out.println("Response body: " + response.toString()); } System.out.println("Response Code : " + connection.getResponseCode());



Endpoint Properties

This resource has the following properties:

Response formatsJSON
Authentication requirementsToken

Parameters

This endpoint does not permit additional parameters.

Status Codes

These are the possible status codes of the response for this endpoint:

Sample Response

This is an example of the response:

{ "storeScheduleDays": [ { "day": "mon", "storeSchedules": [ { "id": 1171828, "startsTime": "07:00:00", "endsTime": "09:00:00" } ] }, { "day": "tue", "storeSchedules": [ { "id": 21126084, "startsTime": "00:00:00", "endsTime": "05:00:00" } ] }, { "day": "sun", "storeSchedules": [ { "id": 1171833, "startsTime": "00:00:00", "endsTime": "13:00:00" } ] } ] }

This table describes the objects contained in the response example:

Response ObjectObject Description
day
string
Day identifier.
storeSchedules
list
Time Slots List.
storeSchedules.id
integer
Time slot ID.
startsTime
string
Start of the time slot in 24-hour format HH:mm:ss.
endsTime
string
End of time slot in 24-hour format HH:mm:ss.

GET store/schedule/{storeId}/holiday

Use this endpoint to get all the hours for holidays

Endpoint URL

Use this URL to make a request with this endpoint:

https://{COUNTRY_DOMAIN}/api/rest-ops-utils/store/schedule/{storeId}/holiday

Sample Request

This is an example of an API request using this endpoint:

GET https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999/holiday

This is an example of the request:

URL url = new URL("https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999/holiday"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("GET"); connection.setRequestProperty("User-Agent", "Mozilla/5.0"); connection.setRequestProperty("Content-Type", "application/json"); connection.setRequestProperty("Accept", "application/json"); connection.setRequestProperty("x-authorization", "Bearer YOUR_TOKEN"); try (BufferedReader br = new BufferedReader(new InputStreamReader(connection.getInputStream(), StandardCharsets.UTF_8))) { StringBuilder response = new StringBuilder(); String responseLine; while ((responseLine = br.readLine()) != null) { response.append(responseLine.trim()); } System.out.println("Response body: " + response.toString()); } System.out.println("Response Code : " + connection.getResponseCode());



Endpoint Properties

This resource has the following properties:

Response formatsJSON
Authentication requirementsToken

Parameters

This endpoint does not permit additional parameters.

Status Codes

These are the possible status codes of the response for this endpoint:

Sample Response

This is an example of the response:

{ "storeSpecialScheduleDays": [ { "id": 270, "name": "Festivo", "month": 2, "day": 22, "cityId": null, "storeSchedules": [] }, { "id": 10342, "name": "Festivo", "month": 3, "day": 15, "cityId": null, "storeSchedules": [ { "id": 2334763, "startsTime": "00:00:00", "endsTime": "10:00:00" } ] } ] }

This table describes the objects contained in the response example:

Response ObjectObject Description
storeSpecialScheduleDays
list
Holidays List.
storeSpecialScheduleDays.id
integer
Holiday ID.
storeSpecialScheduleDays.name
string
Holiday's name.
storeSpecialScheduleDays.month
integer
Holiday's month.
storeSpecialScheduleDays.day
integer
Holiday's number.
storeSpecialScheduleDays.cityId
integer
City ID (Optional).
storeSpecialScheduleDays.storeSchedules
list
Time Slots List.
storeSpecialScheduleDays.storeSchedules.id
integer
Time slot ID.
storeSpecialScheduleDays.storeSchedules.startsTime
string
Start of the time slot in 24-hour format HH:mm:ss.
storeSpecialScheduleDays.storeSchedules.endsTime
string
End of time slot in 24-hour format HH:mm:ss.

GET store/schedule/{storeId}/special

Use this endpoint to get all the hours for your store's special days.

Endpoint URL

Use this URL to make a request with this endpoint:

https://{COUNTRY_DOMAIN}/api/rest-ops-utils/store/schedule/{storeId}/special

Sample Request

This is an example of an API request using this endpoint:

GET https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999/special

This is an example of the request:

URL url = new URL("https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999/special"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("GET"); connection.setRequestProperty("User-Agent", "Mozilla/5.0"); connection.setRequestProperty("Content-Type", "application/json"); connection.setRequestProperty("Accept", "application/json"); connection.setRequestProperty("x-authorization", "Bearer YOUR_TOKEN"); try (BufferedReader br = new BufferedReader(new InputStreamReader(connection.getInputStream(), StandardCharsets.UTF_8))) { StringBuilder response = new StringBuilder(); String responseLine; while ((responseLine = br.readLine()) != null) { response.append(responseLine.trim()); } System.out.println("Response body: " + response.toString()); } System.out.println("Response Code : " + connection.getResponseCode());



Endpoint Properties

This resource has the following properties:

Response formatsJSON
Authentication requirementsToken

Parameters

This endpoint does not permit additional parameters.

Status Codes

These are the possible status codes of the response for this endpoint:

Sample Response

This is an example of the response:

{ "storeSpecialScheduleDays": [ { "id": 270, "name": "Cumpleaños de Daniel", "month": 6, "day": 20, "cityId": null, "storeSchedules": [] }, { "id": 10342, "name": "Aniversario", "month": 3, "day": 15, "cityId": null, "storeSchedules": [ { "id": 2334761, "startsTime": "00:00:00", "endsTime": "10:00:00" } ] } ] }

This table describes the objects contained in the response example:

Response ObjectObject Description
storeSpecialScheduleDays
list
Special days list.
storeSpecialScheduleDays.id
integer
Special day's ID.
storeSpecialScheduleDays.name
string
Special day's name.
storeSpecialScheduleDays.month
integer
Special day's month.
storeSpecialScheduleDays.day
integer
Special day's number.
storeSpecialScheduleDays.cityId
integer
City ID (Optional).
storeSpecialScheduleDays.storeSchedules
list
Time Slots List.
storeSpecialScheduleDays.storeSchedules.id
integer
Time slot ID.
storeSpecialScheduleDays.storeSchedules.startsTime
string
Start of the time slot in 24-hour format HH:mm:ss.
storeSpecialScheduleDays.storeSchedules.endsTime
string
End of time slot in 24-hour format HH:mm:ss.

POST store/schedule/{storeId}

Use this endpoint to create a new time slot for your store

Endpoint URL

Use this URL to make a request with this endpoint:

https://{COUNTRY_DOMAIN}/api/rest-ops-utils/store/schedule/{storeId}

Sample Request

This resource has the following properties:

Response formatsJSON
Request body requirementsJSON
Authentication requirementsToken

Parameters

This endpoint does not permit additional parameters.

Status Codes

These are the possible status codes of the response for this endpoint:

Sample Request

This is an example of an API request using this endpoint:

POST https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999

This is an example of the request:

{ "day": "mon", "starts_time": "08:00:00", "ends_time": "09:00:00" }
URL url = new URL("https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("POST"); connection.setRequestProperty("User-Agent", "Mozilla/5.0"); connection.setRequestProperty("Content-Type", "application/json"); connection.setRequestProperty("Accept", "application/json"); connection.setRequestProperty("x-authorization", "Bearer YOUR_TOKEN"); connection.setDoOutput(true); String jsonInputString = " {\n" + " \"day\": \"mon\",\n" + " \"starts_time\": \"08:00:00\",\n" + " \"ends_time\": \"20:00:00\"\n" + " }\n" try (OutputStream os = connection.getOutputStream()) { byte[] input = jsonInputString.getBytes(StandardCharsets.UTF_8); os.write(input, 0, input.length); } try (BufferedReader br = new BufferedReader(new InputStreamReader(connection.getInputStream(), StandardCharsets.UTF_8))) { StringBuilder response = new StringBuilder(); String responseLine; while ((responseLine = br.readLine()) != null) { response.append(responseLine.trim()); } System.out.println("Response body: " + response.toString()); } System.out.println("Response Code : " + connection.getResponseCode());



This table describes the attributes that the JSON of your request requires:

AttributesRequirementDescription
day
string
requiredSchedule day. "mon, tue, wed, thu, fri, sat, sun"
starts_time
string
requiredStart of the time slot in 24-hour format HH:mm:ss.
ends_time
string
requiredEnd of time slot in 24-hour format HH:mm:ss.

Sample Response

This is an example of the response:

{ "day": "mon", "storeSchedules": [ { "id": 21126292, "starts_time": "08:00:00", "ends_time": "09:00:00" } ] }

This table describes the objects contained in the response example:

Response ObjectObject Description
day
string
Day identifier.
storeSchedules
list
Time Slots List.
storeSchedules.id
integer
Time slot ID.
startsTime
string
Start of the time slot in 24-hour format HH:mm:ss.
endsTime
string
End of time slot in 24-hour format HH:mm:ss.

POST store/schedule/{storeId}/holiday/{holidayDayId}

Use this endpoint to create a new time slot for your store on a holiday

Endpoint URL

Use this URL to make a request with this endpoint:

https://{COUNTRY_DOMAIN}/api/rest-ops-utils/store/schedule/{storeId}/holiday/{holidayDayId}

  • {COUNTRY_DOMAIN}: This is your Rappi Country Domain. See the list of Country Domains.
  • {storeId}: It is the store's identifier in Rappi.
  • {holidayDayId}: It is the holiday's identifier in Rappi.

Endpoint Properties

This resource has the following properties:

Response formatsJSON
Request body requirementsJSON
Authentication requirementsToken

Parameters

This endpoint does not permit additional parameters.

Status Codes

These are the possible status codes of the response for this endpoint:

Sample Request

This is an example of an API request using this endpoint:

POST https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999/holiday/{holidayDayId}

This is an example of the request:

[ { "startsTime": "10:00:00", "endsTime": "12:00:00" } ]
URL url = new URL("https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999/holiday/{holidayDayId}"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("POST"); connection.setRequestProperty("User-Agent", "Mozilla/5.0"); connection.setRequestProperty("Content-Type", "application/json"); connection.setRequestProperty("Accept", "application/json"); connection.setRequestProperty("x-authorization", "Bearer YOUR_TOKEN"); connection.setDoOutput(true); String jsonInputString = "[\n" + " {\n" + " \"day\": \"mon\",\n" + " \"starts_time\": \"08:00:00\",\n" + " \"ends_time\": \"20:00:00\"\n" + " }\n" "]\n" try (OutputStream os = connection.getOutputStream()) { byte[] input = jsonInputString.getBytes(StandardCharsets.UTF_8); os.write(input, 0, input.length); } try (BufferedReader br = new BufferedReader(new InputStreamReader(connection.getInputStream(), StandardCharsets.UTF_8))) { StringBuilder response = new StringBuilder(); String responseLine; while ((responseLine = br.readLine()) != null) { response.append(responseLine.trim()); } System.out.println("Response body: " + response.toString()); } System.out.println("Response Code : " + connection.getResponseCode());



This table describes the attributes that the JSON of your request requires:

AttributesRequirementDescription
starts_time
string
requiredStart of the time slot in 24-hour format HH:mm:ss.
ends_time
string
requiredEnd of time slot in 24-hour format HH:mm:ss.

Note

It is possible to create multiple time slots at the same time on a holiday

Sample Response

This is an example of the response:

[ { "id": 21126293, "startsTime": "10:00:00", "endsTime": "12:00:00" }, { "id": 21126294, "startsTime": "13:00:00", "endsTime": "15:00:00" } ]

This table describes the objects contained in the response example:

Response ObjectObject Description
id
integer
Time slot ID.
startsTime
string
Start of the time slot in 24-hour format HH:mm:ss.
endsTime
string
End of time slot in 24-hour format HH:mm:ss.

POST store/schedule/{storeId}/special

Use this endpoint to create a special day for your store

Endpoint URL

Use this URL to make a request with this endpoint:

https://{COUNTRY_DOMAIN}/api/rest-ops-utils/store/schedule/{storeId}/special

Endpoint Properties

This resource has the following properties:

Response formatsJSON
Request body requirementsJSON
Authentication requirementsToken

Parameters

This endpoint does not permit additional parameters.

Status Codes

These are the possible status codes of the response for this endpoint:

Sample Request

This is an example of an API request using this endpoint:

POST https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/{storeId}/special

This is an example of the request:

{ "day": 10, "month": 10, "name": "Dia especial", "schedules": [ { "startsTime": "09:00:00", "endsTime": "12:00:00" }, { "startsTime": "15:00:00", "endsTime": "16:00:00" } ] }
URL url = new URL("https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/{storeId}/special"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("POST"); connection.setRequestProperty("User-Agent", "Mozilla/5.0"); connection.setRequestProperty("Content-Type", "application/json"); connection.setRequestProperty("Accept", "application/json"); connection.setRequestProperty("x-authorization", "Bearer YOUR_TOKEN"); connection.setDoOutput(true); String jsonInputString = "{\n" + " \"day\": \"10\",\n" + " \"month\": \"10\",\n" + " \"name\": \"Dia especial\",\n" + " \"schedules\": [ \n" + " {\n" + " \"starts_time\": \"08:00:00\",\n" + " \"ends_time\": \"20:00:00\"\n" + " }\n" + " ]\n" "}\n" try (OutputStream os = connection.getOutputStream()) { byte[] input = jsonInputString.getBytes(StandardCharsets.UTF_8); os.write(input, 0, input.length); } try (BufferedReader br = new BufferedReader(new InputStreamReader(connection.getInputStream(), StandardCharsets.UTF_8))) { StringBuilder response = new StringBuilder(); String responseLine; while ((responseLine = br.readLine()) != null) { response.append(responseLine.trim()); } System.out.println("Response body: " + response.toString()); } System.out.println("Response Code : " + connection.getResponseCode());



This table describes the attributes that the JSON of your request requires:

AttributesRequirementDescription
day
integer
requiredSpecial day's number.
month
integer
requiredSpecial day's month.
name
string
requiredSpecial day's name.
schedules
list
requiredTime Slots List.
schedules.starts_time
string
requiredStart of the time slot in 24-hour format HH:mm:ss.
schedules.ends_time
string
requiredEnd of time slot in 24-hour format HH:mm:ss.

Sample Response

This is an example of the response:

{ "name": "Dia especial", "month": 11, "day": 10, "storeSchedules": [ { "id": 21126295, "startsTime": "09:00:00", "endsTime": "12:00:00" }, { "id": 21126296, "startsTime": "15:00:00", "endsTime": "16:00:00" } ] }

This table describes the objects contained in the response example:

Response ObjectObject Description
name
string
Special day's name..
month
integer
Special day's month.
day
integer
Special day's number.
storeSchedules
list
Time Slots List.
storeSchedules.id
integer
Time slot ID
storeSchedules.startsTime
string
Start of the time slot in 24-hour format HH:mm:ss.
storeSchedules.endsTime
string
End of time slot in 24-hour format HH:mm:ss.

POST store/schedule/{storeId}/special/{specialDayId}

Use this endpoint to create a new time slot for your store on a special day

Endpoint URL

Use this URL to make a request with this endpoint:

https://{COUNTRY_DOMAIN}/api/rest-ops-utils/store/schedule/{storeId}/special/{specialDayId}

  • {COUNTRY_DOMAIN}: This is your Rappi Country Domain. See the list of Country Domains.
  • {storeId}: It is the store's identifier in Rappi.
  • {specialDayId}: It is the special day's identifier in Rappi.

Endpoint Properties

This resource has the following properties:

Response formatsJSON
Request body requirementsJSON
Authentication requirementsToken

Parameters

This endpoint does not permit additional parameters.

Status Codes

These are the possible status codes of the response for this endpoint:

Sample Request

This is an example of an API request using this endpoint:

POST https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/{storeId}/special/{specialDayId}

This is an example of the request:

[ { "startsTime": "08:00:00", "endsTime": "20:00:00" } ]
URL url = new URL("https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/{storeId}/special/{specialDayId}"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("POST"); connection.setRequestProperty("User-Agent", "Mozilla/5.0"); connection.setRequestProperty("Content-Type", "application/json"); connection.setRequestProperty("Accept", "application/json"); connection.setRequestProperty("x-authorization", "Bearer YOUR_TOKEN"); connection.setDoOutput(true); String jsonInputString = "[\n" + " {\n" + " \"starts_time\": \"08:00:00\",\n" + " \"ends_time\": \"20:00:00\"\n" + " }\n" "]\n" try (OutputStream os = connection.getOutputStream()) { byte[] input = jsonInputString.getBytes(StandardCharsets.UTF_8); os.write(input, 0, input.length); } try (BufferedReader br = new BufferedReader(new InputStreamReader(connection.getInputStream(), StandardCharsets.UTF_8))) { StringBuilder response = new StringBuilder(); String responseLine; while ((responseLine = br.readLine()) != null) { response.append(responseLine.trim()); } System.out.println("Response body: " + response.toString()); } System.out.println("Response Code : " + connection.getResponseCode());



This table describes the attributes that the JSON of your request requires:

AttributesRequirementDescription
starts_time
string
requiredStart of the time slot in 24-hour format HH:mm:ss.
ends_time
string
requiredEnd of time slot in 24-hour format HH:mm:ss.

Sample Response

This is an example of the response:

[ { "id": 21126293, "startsTime": "08:00:00", "endsTime": "20:00:00" } ]

This table describes the objects contained in the response example:

Response ObjectObject Description
id
integer
Time slot ID.
startsTime
string
Start of the time slot in 24-hour format HH:mm:ss.
endsTime
string
End of time slot in 24-hour format HH:mm:ss.

PUT store/schedule/{storeId}/{storeScheduleId}

Use this endpoint to update a time slot for your store

Endpoint URL

Use this URL to make a request with this endpoint:

https://{COUNTRY_DOMAIN}/api/rest-ops-utils/store/schedule/{storeId}/{storeScheduleId}

  • {COUNTRY_DOMAIN}: This is your Rappi Country Domain. See the list of Country Domains.
  • {storeId}: It is the store's identifier in Rappi.
  • {storeScheduleId}: It is the time slot's identifier.

Endpoint Properties

This resource has the following properties:

Response formatsJSON
Request body requirementsJSON
Authentication requirementsToken

Parameters

This endpoint does not permit additional parameters.

Status Codes

These are the possible status codes of the response for this endpoint:

Sample Request

This is an example of an API request using this endpoint:

PUT https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/{storeId}/{storeScheduleId}

This is an example of the request:

{ "startsTime": "07:00:00", "endsTime": "08:00:00" }
URL url = new URL("https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/{storeId}/{storeScheduleId}"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("PUT"); connection.setRequestProperty("User-Agent", "Mozilla/5.0"); connection.setRequestProperty("Content-Type", "application/json"); connection.setRequestProperty("Accept", "application/json"); connection.setRequestProperty("x-authorization", "Bearer YOUR_TOKEN"); connection.setDoOutput(true); String jsonInputString = "{\n" + " \"starts_time\": \"08:00:00\",\n" + " \"ends_time\": \"20:00:00\"\n" + "}\n" try (OutputStream os = connection.getOutputStream()) { byte[] input = jsonInputString.getBytes(StandardCharsets.UTF_8); os.write(input, 0, input.length); } try (BufferedReader br = new BufferedReader(new InputStreamReader(connection.getInputStream(), StandardCharsets.UTF_8))) { StringBuilder response = new StringBuilder(); String responseLine; while ((responseLine = br.readLine()) != null) { response.append(responseLine.trim()); } System.out.println("Response body: " + response.toString()); } System.out.println("Response Code : " + connection.getResponseCode());



This table describes the attributes that the JSON of your request requires:

AttributesRequirementObject Description
starts_time
string
requiredStart of the time slot in 24-hour format HH:mm:ss.
ends_time
string
requiredEnd of time slot in 24-hour format HH:mm:ss.

Sample Response

This is an example of the response:

{ "day": "mon", "storeSchedules": [ { "id": 1171828, "startsTime": "07:00:00", "endsTime": "08:00:00" } ] }

This table describes the objects contained in the response example:

Response ObjectDescription
day
string
Day identifier.
storeSchedules
list
Time Slots List.
startsTime
string
Start of the time slot in 24-hour format HH:mm:ss.
endsTime
string
End of time slot in 24-hour format HH:mm:ss.

DELETE store/schedule/{storeId}/{storeScheduleId}

Use this endpoint to delete a time slot from your store.

Endpoint URL

Use this URL to make a request with this endpoint:

https://{COUNTRY_DOMAIN}/api/rest-ops-utils/store/schedule/{storeId}/{storeScheduleId}

  • {COUNTRY_DOMAIN}: This is your Rappi Country Domain. See the list of Country Domains.
  • {storeId}: It is the store's identifier in Rappi.
  • {storeScheduleId}: It is the time slot's identifier.

Endpoint Properties

This resource has the following properties:

Response formatsJSON
Authentication requirementsToken

Parameters

This endpoint does not permit additional parameters.

Status Codes

These are the possible status codes of the response for this endpoint:

Sample Request

This is an example of an API request using this endpoint:

DELETE https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/{storeId}/{storeScheduleId}

This is an example of the request:

URL url = new URL("https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999/5432"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("DELETE"); connection.setRequestProperty("User-Agent", "Mozilla/5.0"); connection.setRequestProperty("Content-Type", "application/json"); connection.setRequestProperty("Accept", "application/json"); connection.setRequestProperty("x-authorization", "Bearer YOUR_TOKEN"); try (BufferedReader br = new BufferedReader(new InputStreamReader(connection.getInputStream(), StandardCharsets.UTF_8))) { StringBuilder response = new StringBuilder(); String responseLine; while ((responseLine = br.readLine()) != null) { response.append(responseLine.trim()); } System.out.println("Response body: " + response.toString()); } System.out.println("Response Code : " + connection.getResponseCode());




DELETE store/schedule/{storeId}/special/{specialDayId}

Use this endpoint to remove a special day from your store

Endpoint URL

Use this URL to make a request with this endpoint:

https://{COUNTRY_DOMAIN}/api/rest-ops-utils/DELETE store/schedule/{storeId}/special/{specialDayId}

  • {COUNTRY_DOMAIN}: This is your Rappi Country Domain. See the list of Country Domains.
  • {storeId}: It is the store's identifier in Rappi.
  • {specialDayId}: Special day's ID.

Endpoint Properties

This resource has the following properties:

Response formatsJSON
Authentication requirementsToken

Parameters

This endpoint does not permit additional parameters.

Status Codes

These are the possible status codes of the response for this endpoint:

Sample Request

This is an example of an API request using this endpoint:

DELETE https://microservices.dev.rappi.com/api/rest-ops-utils/DELETE store/schedule/{storeId}/special/{specialDayId}

This is an example of the request:

URL url = new URL("https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999/special/5678"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("DELETE"); connection.setRequestProperty("User-Agent", "Mozilla/5.0"); connection.setRequestProperty("Content-Type", "application/json"); connection.setRequestProperty("Accept", "application/json"); connection.setRequestProperty("x-authorization", "Bearer YOUR_TOKEN"); try (BufferedReader br = new BufferedReader(new InputStreamReader(connection.getInputStream(), StandardCharsets.UTF_8))) { StringBuilder response = new StringBuilder(); String responseLine; while ((responseLine = br.readLine()) != null) { response.append(responseLine.trim()); } System.out.println("Response body: " + response.toString()); } System.out.println("Response Code : " + connection.getResponseCode());
var https = require("https"); var options = { method: "DELETE", hostname: "microservices.dev.rappi.com", path: "/api/rest-ops-utils/store/schedule/999/special/5678", headers: { "Content-Type": "application/json", "x-authorization": "Bearer YOUR_TOKEN", }, }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();
import requests url = "https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999/special/5678" payload = {} headers = { 'Content-Type': 'application/json', 'x-authorization': 'Bearer YOUR_TOKEN' } response = requests.request("DELETE", url, headers=headers, data=payload) print(response.text.encode('utf8'))
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "https://microservices.dev.rappi.com/api/rest-ops-utils/store/schedule/999/special/5678" method := "DELETE" client := &http.Client{} req, err := http.NewRequest(method, url, nil) if err != nil { fmt.Println(err) } req.Header.Add("Content-Type", "application/json") req.Header.Add("x-authorization", "Bearer YOUR_TOKEN") res, err := client.Do(req) defer res.Body.Close() body, err := ioutil.ReadAll(res.Body) fmt.Println(string(body)) }