Skip to content

Commit 9f323df

Browse files
committed
ACP2E-3032: [Documentation] Please mention that POST "ship" REST API call does not validate total shipped items quantity.
1 parent b036984 commit 9f323df

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

app/code/Magento/Sales/Api/Data/ShipmentInterface.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,75 +23,75 @@ interface ShipmentInterface extends \Magento\Framework\Api\ExtensibleDataInterfa
2323
/*
2424
* Entity ID.
2525
*/
26-
const ENTITY_ID = 'entity_id';
26+
public const ENTITY_ID = 'entity_id';
2727
/*
2828
* Store ID.
2929
*/
30-
const STORE_ID = 'store_id';
30+
public const STORE_ID = 'store_id';
3131
/*
3232
* Total weight.
3333
*/
34-
const TOTAL_WEIGHT = 'total_weight';
34+
public const TOTAL_WEIGHT = 'total_weight';
3535
/*
3636
* Total quantity. Can be greater than ordered quantity (not validated).
3737
*/
38-
const TOTAL_QTY = 'total_qty';
38+
public const TOTAL_QTY = 'total_qty';
3939
/*
4040
* Email sent flag.
4141
*/
42-
const EMAIL_SENT = 'email_sent';
42+
public const EMAIL_SENT = 'email_sent';
4343
/*
4444
* Order ID.
4545
*/
46-
const ORDER_ID = 'order_id';
46+
public const ORDER_ID = 'order_id';
4747
/*
4848
* Customer ID.
4949
*/
50-
const CUSTOMER_ID = 'customer_id';
50+
public const CUSTOMER_ID = 'customer_id';
5151
/*
5252
* Shipping address ID.
5353
*/
54-
const SHIPPING_ADDRESS_ID = 'shipping_address_id';
54+
public const SHIPPING_ADDRESS_ID = 'shipping_address_id';
5555
/*
5656
* Billing address ID.
5757
*/
58-
const BILLING_ADDRESS_ID = 'billing_address_id';
58+
public const BILLING_ADDRESS_ID = 'billing_address_id';
5959
/*
6060
* Shipment status.
6161
*/
62-
const SHIPMENT_STATUS = 'shipment_status';
62+
public const SHIPMENT_STATUS = 'shipment_status';
6363
/*
6464
* Increment ID.
6565
*/
66-
const INCREMENT_ID = 'increment_id';
66+
public const INCREMENT_ID = 'increment_id';
6767
/*
6868
* Created-at timestamp.
6969
*/
70-
const CREATED_AT = 'created_at';
70+
public const CREATED_AT = 'created_at';
7171
/*
7272
* Updated-at timestamp.
7373
*/
74-
const UPDATED_AT = 'updated_at';
74+
public const UPDATED_AT = 'updated_at';
7575
/*
7676
* Packages.
7777
*/
78-
const PACKAGES = 'packages';
78+
public const PACKAGES = 'packages';
7979
/*
8080
* Shipping label.
8181
*/
82-
const SHIPPING_LABEL = 'shipping_label';
82+
public const SHIPPING_LABEL = 'shipping_label';
8383
/*
8484
* Items.
8585
*/
86-
const ITEMS = 'items';
86+
public const ITEMS = 'items';
8787
/*
8888
* Tracks.
8989
*/
90-
const TRACKS = 'tracks';
90+
public const TRACKS = 'tracks';
9191
/*
9292
* Comments.
9393
*/
94-
const COMMENTS = 'comments';
94+
public const COMMENTS = 'comments';
9595

9696
/**
9797
* Gets the billing address ID for the shipment.

0 commit comments

Comments
 (0)