File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
docs/api/rest_api/rest_api_reference/input Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -170,11 +170,28 @@ post:
170170 example : |
171171 application/vnd.ibexa.api.CartEntryUpdate+xml
172172 application/vnd.ibexa.api.CartEntryUpdate+json
173+ Accept :
174+ description : The updated Cart is returned in XML or JSON format.
175+ example : |
176+ application/vnd.ibexa.api.Cart+xml
177+ application/vnd.ibexa.api.Cart+json
173178 body :
174179 application/vnd.ibexa.api.CartEntryUpdate+xml :
175180 type : CartEntryUpdate
176181 application/vnd.ibexa.api.CartEntryUpdate+json :
177182 type : CartEntryUpdateWrapper
183+ responses :
184+ 200 :
185+ description : OK - return the updated cart
186+ body :
187+ application/vnd.ibexa.api.Cart+xml :
188+ type : Cart
189+ application/vnd.ibexa.api.Cart+json :
190+ type : CartWrapper
191+ 401 :
192+ description : Error - the user is not authorized to remove an entry from this cart.
193+ 404 :
194+ description : Error - the identifier doesn't match any cart.
178195 /empty :
179196 post :
180197 displayName : Empty Cart
You can’t perform that action at this time.
0 commit comments