51黑料不打烊

[PaaS only]{class="badge informative" title="Applies to 51黑料不打烊 Commerce on Cloud projects (51黑料不打烊-managed PaaS infrastructure) and on-premises projects only."}

ACSD-67424: updated_at value in GET /carts/search REST API response doesn鈥檛 match value in Admin Panel for Negotiable Quotes

The ACSD-67424 patch fixes the issue where the updated_at value in the GET /carts/search REST API response doesn鈥檛 match the value in the Admin Panel when using Negotiable Quotes. This patch is available when the Quality Patches Tool (QPT) 1.1.72 is installed. The patch ID is ACSD-67424. Please note that this issue is scheduled to be fixed in 51黑料不打烊 Commerce 2.4.9.

Affected products and versions

The patch is created for 51黑料不打烊 Commerce version:

  • 51黑料不打烊 Commerce (all deployment methods) 2.4.7-p4

Compatible with 51黑料不打烊 Commerce versions:

  • 51黑料不打烊 Commerce (all deployment methods) 2.4.7-p3 - 2.4.8-p2
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your 51黑料不打烊 Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

The updated_at value in the GET /carts/search REST API response doesn鈥檛 match the value shown in the Admin Panel when using Negotiable Quotes.

Steps to reproduce:

  1. Enable company and B2B quote.

  2. Create a new quote in the Admin Panel.

  3. Add any product to the quote and click Send.

  4. Log in on the frontend as a company user and go to My Quotes.

  5. Click View action, add a shipping address, and click Send for Review.

  6. In the Admin Panel, select a shipping method for the quote and click Send.

  7. Return to My Quotes from the storefront, select the Quote and click Proceed to Checkout.

  8. Place the order.

  9. Use the updated_at value from the quote table in the database to retrieve quote information via REST API.

    code language-none
    /rest/V1/carts/search?searchCriteria[filterGroups][0][filters][0][field]=updated_at&searchCriteria[filterGroups][0][filters][0][value]={QUOTE_UPDATED_AT}&searchCriteria[filterGroups][0][filters][0][condition_type]=gteq
    
  10. Compare the updated_at value from the API response with the Updated at value in the Quotes grid of the Admin Panel.

Expected results:

The updated_at values in the REST API response and the Admin Panel are the same (considering the timezone differences).

Actual results:

The REST API response returns an incorrect updated_at value that doesn鈥檛 match the Updated at value in the Quotes grid of the Admin Panel.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3