File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed 
docs/api/rest_api/rest_api_reference/input Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,29 @@ post:
161161            delete :
162162                displayName : Remove Entry from Cart 
163163                description : Removes the given entry from the given Cart. 
164+                 headers :
165+                     Accept :
166+                         description : The updated Cart is returned in XML or JSON format. 
167+                         example : | 
168+                             application/vnd.ibexa.api.Cart+xml 
169+                             application/vnd.ibexa.api.Cart+json 
170+ body :
171+                     application/vnd.ibexa.api.CartEntryUpdate+xml :
172+                         type : CartEntryUpdate 
173+                     application/vnd.ibexa.api.CartEntryUpdate+json :
174+                         type : CartEntryUpdateWrapper 
175+                 responses :
176+                     200 :
177+                         description : OK - return the updated cart 
178+                         body :
179+                             application/vnd.ibexa.api.Cart+xml :
180+                                 type : Cart 
181+                             application/vnd.ibexa.api.Cart+json :
182+                                 type : CartWrapper 
183+                     401 :
184+                         description : Error - the user is not authorized to remove an entry from this cart. 
185+                     404 :
186+                         description : Error - the identifiers don't match any cart or entry. 
164187            patch :
165188                displayName : Update Entry from Cart 
166189                description : Updates the given entry from the given Cart. 
@@ -188,10 +211,12 @@ post:
188211                                type : Cart 
189212                            application/vnd.ibexa.api.Cart+json :
190213                                type : CartWrapper 
214+                     400 :
215+                         description : Error - the input doesn't match the input schema definition. 
191216                    401 :
192217                        description : Error - the user is not authorized to remove an entry from this cart. 
193218                    404 :
194-                         description : Error - the identifier doesn 't match any cart. 
219+                         description : Error - the identifiers don 't match any cart or entry . 
195220    /empty :
196221        post :
197222            displayName : Empty Cart 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments