メンテナンスレスポンスコード

システムのデプロイの一環として B2C Commerce インスタンスが更新された場合、または関連するサイトの「サイトのステータス」を「メンテナンス」に設定した場合、B2C Commerce API はメンテナンス HTTP レスポンスを返します。

システムメンテナンス 

これには、B2C Commerce のリリースやデータベースのアップグレードなど、システム全体の更新が含まれます。このステータスは通常、Salesforce Commerce Cloud によって設定されます。詳細については、B2C Commerce デプロイスケジュールを参照してください。

追加の HTTP レスポンスヘッダー:

1sfdc_maintenance: system

エラーレスポンスボディの例:

1{
2  "type": "https://api.commercecloud.salesforce.com/documentation/error/v1/errors/system-under-maintenance",
3  "title": "System Under Maintenance",
4  "detail": "The request could not be processed as the system is currently under maintenance."
5}

サイトメンテナンス 

Business Manager の「サイトの管理」モジュールで、B2C Commerce サイトの「サイトのステータス」が「メンテナンス」に設定されている場合、追加の HTTP レスポンスヘッダーとともに HTTP 503 レスポンスが返されます。

1sfdc_maintenance: site

エラーレスポンスボディの例:

1{
2  "type": "https://api.commercecloud.salesforce.com/documentation/error/v1/errors/site-under-maintenance",
3  "title": "Site Under Maintenance",
4  "detail": "The request could not be processed as the site is currently under maintenance."
5}