Hi, I was testing M2 API last night
API path: /V1/orders
Parameters: {'searchCriteria':'*'}
for every order item,
the content of "extension_attributes->shipping_assignments" are with incorrect data,
in my case these data belongs to the last order item.
[items] => Array
(
[0] => stdClass Object
(
[base_currency_code] => AUD
.......
[extension_attributes] => stdClass Object
(
shipping_assignments => Array
(
...[REDUNDANT DATA]...
)
)
)
[1] => stdClass Object
(
[base_currency_code] => AUD
.......
[extension_attributes] => stdClass Object
(
shipping_assignments => Array
(
...[REDUNDANT DATA]...
)
)
)
[2] => stdClass Object
(
[base_currency_code] => AUD
.......
[extension_attributes] => stdClass Object
(
shipping_assignments => Array
(
...[REDUNDANT DATA]...
)
)
)
.......
)
The REDUNDANT DATA ..
[0] => stdClass Object
(
.......
[order_id] => XX
.....
)
Where the "XX" is always the entity_id of last order item
Anyone noticed?
Any fix/patch?