@@ -75577,14 +75577,158 @@ <h4 id="/cart/{identifier}/entry/{entryid}" class="heading text-gray">/cart/{ide
75577
75577
</p>
75578
75578
<p data-field="body"><p>Removes the given entry from the given Cart.</p>
75579
75579
</p>
75580
+ <div class="py-3">
75581
+ <h6 class="heading text-gray border-bottom pb-2">Header parameters</h6>
75582
+ <div class="mb-2">
75583
+ <p class="mt-3 mb-0 font-weight-medium">Accept</p>
75584
+ <p>The updated Cart is returned in XML or JSON format.</p>
75585
+ <div class="table-responsive mb-2">
75586
+ <table class="table">
75587
+ <thead>
75588
+ <tr>
75589
+ <th scope="col">Property</th>
75590
+ <th scope="col">Value</th>
75591
+ </tr>
75592
+ </thead>
75593
+ <tbody>
75594
+ <tr>
75595
+ <td>Type</td>
75596
+ <td>
75597
+
75598
+ <span>
75599
+ string
75600
+ </span>
75580
75601
75581
75602
75603
+
75604
+ </td>
75605
+ </tr>
75606
+ <tr>
75607
+ <td>Examples</td>
75608
+ <td>
75609
+ <code>application/vnd.ibexa.api.Cart+xml
75610
+ application/vnd.ibexa.api.Cart+json
75611
+ </code>
75612
+ </td>
75613
+ </tr>
75614
+ </tbody>
75615
+ </table>
75616
+ </div>
75617
+ </div>
75618
+ </div>
75619
+
75582
75620
75583
-
75621
+ <div class="py-3">
75622
+ <h6 class="heading text-gray border-bottom pb-2">Possible responses</h6>
75623
+ <div class="table-responsive">
75624
+ <table class="table">
75625
+ <thead>
75626
+ <tr>
75627
+ <th scope="col">Code</th>
75628
+ <th scope="col">Description</th>
75629
+ </tr>
75630
+ </thead>
75631
+ <tbody>
75632
+ <tr>
75633
+ <td>
75634
+ <a href="#cart-identifier-entry-entryid-delete-response-200"
75635
+ class="text-ocean-blue ">
75636
+ 200
75637
+ </a>
75638
+ </td>
75639
+ <td>
75640
+ <p>OK - return the updated cart</p>
75641
+ </td>
75642
+ </tr>
75643
+ <tr>
75644
+ <td>
75645
+ 401
75646
+ </td>
75647
+ <td>
75648
+ <p>Error - the user is not authorized to remove an entry from this cart.</p>
75649
+ </td>
75650
+ </tr>
75651
+ <tr>
75652
+ <td>
75653
+ 404
75654
+ </td>
75655
+ <td>
75656
+ <p>Error - the identifiers don't match any cart or entry.</p>
75657
+ </td>
75658
+ </tr>
75659
+ </tbody>
75660
+ </table>
75661
+ </div>
75662
+ </div>
75663
+
75664
+ <div class="py-3">
75665
+ <h6 class="heading text-gray border-bottom pb-2">Types</h6>
75666
+ <div class="table-responsive">
75667
+ <table class="table">
75668
+ <thead>
75669
+ <tr>
75670
+ <th scope="col">Type</th>
75671
+ <th scope="col">Description</th>
75672
+ </tr>
75673
+ </thead>
75674
+ <tbody>
75675
+ <tr>
75676
+ <td>
75677
+ <a href="#" class="text-ocean-blue" data-toggle="modal" data-target="#CartEntryUpdate">
75678
+ CartEntryUpdate
75679
+ </a>
75680
+ </td>
75681
+ <td></td>
75682
+ </tr>
75683
+ <tr>
75684
+ <td>
75685
+ <a href="#" class="text-ocean-blue" data-toggle="modal" data-target="#CartEntryUpdateWrapper">
75686
+ CartEntryUpdateWrapper
75687
+ </a>
75688
+ </td>
75689
+ <td>JSON object with only a CartEntryUpdate property.</td>
75690
+ </tr>
75691
+ <tr>
75692
+ <td>
75693
+ <a href="#" class="text-ocean-blue" data-toggle="modal" data-target="#Cart">
75694
+ Cart
75695
+ </a>
75696
+ </td>
75697
+ <td>This class represents a Cart</td>
75698
+ </tr>
75699
+ <tr>
75700
+ <td>
75701
+ <a href="#" class="text-ocean-blue" data-toggle="modal" data-target="#CartWrapper">
75702
+ CartWrapper
75703
+ </a>
75704
+ </td>
75705
+ <td>JSON object with only a Cart property.</td>
75706
+ </tr>
75707
+ </tbody>
75708
+ </table>
75709
+ </div>
75710
+ </div>
75711
+
75584
75712
</div>
75585
75713
<div class="col-lg-6 px-3 examples">
75586
75714
75587
- </div>
75715
+ <div class="request">
75716
+ <div class="pb-3" id="cart-identifier-entry-entryid-delete-request">
75717
+ <div class="d-flex justify-content-between align-items-baseline">
75718
+ <ul class="nav nav-tabs border-bottom-0" id="cart-identifier-entry-entryid-delete-requestTab" role="tablist">
75719
+ </ul>
75720
+ </div>
75721
+ </div>
75722
+ </div>
75723
+ <div class="response">
75724
+ <div class="pb-3 response__code" id="cart-identifier-entry-entryid-delete-response-200">
75725
+ <div class="d-flex justify-content-between align-items-baseline">
75726
+ <ul class="nav nav-tabs border-bottom-0" id="cart-identifier-entry-entryid-delete-response-200Tab" role="tablist">
75727
+ </ul>
75728
+ </div>
75729
+ </div>
75730
+ </div>
75731
+ </div>
75588
75732
</div>
75589
75733
</div>
75590
75734
<div id="managing-commerce-carts-update-entry-from-cart-section" class="search-container px-3" data-parent="Managing Commerce carts">
@@ -75703,21 +75847,29 @@ <h6 class="heading text-gray border-bottom pb-2">Possible responses</h6>
75703
75847
<td>
75704
75848
<p>OK - return the updated cart</p>
75705
75849
</td>
75850
+ </tr>
75851
+ <tr>
75852
+ <td>
75853
+ 400
75854
+ </td>
75855
+ <td>
75856
+ <p>Error - the input doesn't match the input schema definition.</p>
75857
+ </td>
75706
75858
</tr>
75707
75859
<tr>
75708
75860
<td>
75709
75861
401
75710
75862
</td>
75711
75863
<td>
75712
- <p>Error - the user is not authorized to remove an entry from this cart.</p>
75864
+ <p>Error - the user is not authorized to update an entry of this cart.</p>
75713
75865
</td>
75714
75866
</tr>
75715
75867
<tr>
75716
75868
<td>
75717
75869
404
75718
75870
</td>
75719
75871
<td>
75720
- <p>Error - the identifier doesn 't match any cart.</p>
75872
+ <p>Error - the identifiers don 't match any cart or entry .</p>
75721
75873
</td>
75722
75874
</tr>
75723
75875
</tbody>
@@ -75791,7 +75943,7 @@ <h6 class="heading text-gray border-bottom pb-2">Types</h6>
75791
75943
</ul>
75792
75944
</div>
75793
75945
</div>
75794
- </div>
75946
+ </div>
75795
75947
</div>
75796
75948
</div>
75797
75949
</div>
0 commit comments