data-src=../../includes/commerce-only.md

Delete a company address

data-variant=info
data-slots=text
This endpoint is part of the B2B Storefront Compatibility Package and is only available on Adobe Commerce as a Cloud Service. Requests require an admin or integration token whose role includes the Magento_CompanyAddressStorefrontCompatibility::delete ACL resource.

This endpoint deletes an existing company address using the deleteById operation of the companyAddressRepositoryV1 service.

Service Name:

companyAddressRepositoryV1

REST Endpoint:

DELETE /V1/company-address/:addressId

Delete a company address

The following example deletes company address 12.

Sample Usage:

DELETE <host>/rest/<store_code>/V1/company-address/12

data-slots=heading, code
data-repeat=2
data-languages=JSON, JSON

Payload

// none

Response

// `true`, indicating the request was successful

Notes