File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
docs/api/rest_api/rest_api_reference/input Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 8585 401 :
8686 description : Error - the user is not authorized to get this cart.
8787 404 :
88- description : Error - The identifier do not match any Cart .
88+ description : Error - the identifier do not match any cart .
8989 delete :
9090 displayName : Delete Cart
9191 description : Deletes Cart by its identifier.
@@ -98,11 +98,32 @@ post:
9898 example : |
9999 application/vnd.ibexa.api.CartMetadataUpdate+xml
100100 application/vnd.ibexa.api.CartMetadataUpdate+json
101+ Accept :
102+ description : The Cart is returned in XML or JSON format.
103+ example : |
104+ application/vnd.ibexa.api.Cart+xml
105+ application/vnd.ibexa.api.Cart+json
101106 body :
102107 application/vnd.ibexa.api.CartMetadataUpdate+xml :
103108 type : CartMetadataUpdate
104109 application/vnd.ibexa.api.CartMetadataUpdate+json :
105110 type : CartMetadataUpdateWrapper
111+ responses :
112+ 200 :
113+ description : OK - return the updated cart
114+ body :
115+ application/vnd.ibexa.api.Cart+xml :
116+ type : Cart
117+ example : !include examples/cart/POST/Cart.xml.example
118+ application/vnd.ibexa.api.Cart+json :
119+ type : CartWrapper
120+ example : !include examples/cart/POST/Cart.json.example
121+ 400 :
122+ description : Error - the input doesn't match the input schema definition.
123+ 401 :
124+ description : Error - the user is not authorized to update this cart.
125+ 404 :
126+ description : Error - the identifier doesn't match any cart.
106127 /entry :
107128 post :
108129 displayName : Add Entry to Cart
You can’t perform that action at this time.
0 commit comments