Loading
Quote Creation Issue - Non-USD CurrenciesRead More
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
B2C Commerce Release Notes
More Consistent Error Handling for Shop API DELETE Resources

More Consistent Error Handling for Shop API DELETE Resources

Calling certain Shop API DELETE resources on a nonexistent record ID now returns HTTP 404 (ProductItemNotFoundException) instead of HTTP 204 (Success) with a debug log entry. This behavior is more consistent with the overall pattern.

Where: These resources are affected:

  • DELETE /baskets/{basket_id} with unknown basket_id
  • DELETE /baskets/{basket_id}/items/{item_id} with unknown item_id
  • DELETE /baskets/{basket_id}/payment_instruments/{payment_instrument_id} with unknown payment_instrument_id
  • DELETE /orders/{order_id}/payment_instruments/{payment_instrument_id} with unknown payment_instrument_id
 
Loading
Salesforce Help | Article