@@ -60,7 +60,7 @@ The endpoints that have **{offerId}**, **{locationId}**, **{brandId}**, needs to
6060```
6161Creation
6262
63- POST - https://6pkqjlxvu0 .execute-api.us-east-1.amazonaws.com/dev/brand
63+ POST - https://bla .execute-api.us-east-1.amazonaws.com/dev/brand
6464- Body example:
6565 {
6666 "name": "Starbucks"
@@ -70,20 +70,20 @@ POST - https://6pkqjlxvu0.execute-api.us-east-1.amazonaws.com/dev/brand
7070```
7171Index
7272
73- GET - https://6pkqjlxvu0 .execute-api.us-east-1.amazonaws.com/dev/brand
73+ GET - https://bla .execute-api.us-east-1.amazonaws.com/dev/brand
7474```
7575
7676```
7777Show :ID
7878
79- GET - https://6pkqjlxvu0 .execute-api.us-east-1.amazonaws.com/dev/brand/{brandId}
79+ GET - https://bla .execute-api.us-east-1.amazonaws.com/dev/brand/{brandId}
8080```
8181
8282- Offers
8383```
8484Creation
8585
86- POST - https://6pkqjlxvu0 .execute-api.us-east-1.amazonaws.com/dev/offer
86+ POST - https://bla .execute-api.us-east-1.amazonaws.com/dev/offer
8787- Body example:
8888 {
8989 "name": "Super Duper Offer",
@@ -94,33 +94,33 @@ POST - https://6pkqjlxvu0.execute-api.us-east-1.amazonaws.com/dev/offer
9494```
9595Index
9696
97- GET - https://6pkqjlxvu0 .execute-api.us-east-1.amazonaws.com/dev/offer
97+ GET - https://bla .execute-api.us-east-1.amazonaws.com/dev/offer
9898```
9999
100100```
101101Show :ID
102102
103- GET - https://6pkqjlxvu0 .execute-api.us-east-1.amazonaws.com/dev/offer/{offerId}
103+ GET - https://bla .execute-api.us-east-1.amazonaws.com/dev/offer/{offerId}
104104```
105105
106106```
107107Link Offer to Locations
108108
109- POST - https://6pkqjlxvu0 .execute-api.us-east-1.amazonaws.com/dev/offer/{offerId}/link-location/{locationId}
109+ POST - https://bla .execute-api.us-east-1.amazonaws.com/dev/offer/{offerId}/link-location/{locationId}
110110```
111111
112112```
113113(BONUS) Link Offer to all locations from a brand
114114
115- POST - https://6pkqjlxvu0 .execute-api.us-east-1.amazonaws.com/dev/offer/{offerId}/link-all-brands-location/{brandId}
115+ POST - https://bla .execute-api.us-east-1.amazonaws.com/dev/offer/{offerId}/link-all-brands-location/{brandId}
116116```
117117
118118- Location
119119
120120```
121121Creation
122122
123- POST - https://6pkqjlxvu0 .execute-api.us-east-1.amazonaws.com/dev/location
123+ POST - https://bla .execute-api.us-east-1.amazonaws.com/dev/location
124124- Body example:
125125 {
126126 "address": "Lorem Ipsum Address",
@@ -131,19 +131,19 @@ POST - https://6pkqjlxvu0.execute-api.us-east-1.amazonaws.com/dev/location
131131```
132132Index
133133
134- GET - https://6pkqjlxvu0 .execute-api.us-east-1.amazonaws.com/dev/location
134+ GET - https://bla .execute-api.us-east-1.amazonaws.com/dev/location
135135```
136136
137137```
138138Show :ID
139139
140- GET - https://6pkqjlxvu0 .execute-api.us-east-1.amazonaws.com/dev/location/{locationId}
140+ GET - https://bla .execute-api.us-east-1.amazonaws.com/dev/location/{locationId}
141141```
142142
143143- (BONUS) Link Offer to all locations from a brand
144144
145145```
146- POST - https://6pkqjlxvu0 .execute-api.us-east-1.amazonaws.com/dev/offer/{offerId}/link-all-brands-location/{brandId}
146+ POST - https://bla .execute-api.us-east-1.amazonaws.com/dev/offer/{offerId}/link-all-brands-location/{brandId}
147147```
148148
149149It notify the user at response when some of the links could not be performed.
0 commit comments