Skip to main content

Documentation Portal

RemoveRestrictedProducts (Global-e to Merchant)

Note

This API is part of Global-e's extensions and plug-ins. Merchants do not need to implement this API unless a custom integration is required.

This API removes restricted products from the merchant cart; it notifies merchants that restricted products were removed from the cart, then merchants must also update the cart on the merchant side.

Method/URL

https://www.merchant-site-domain.com/remove-restricted-products-url
Parameters

Request

Name

Type

Description

Mandatory

Merchant.RemoveRestrictedProductsRequest

Object Merchant.RemoveRestrictedProductsRequest

Contains information related to a request to remove a restricted product.

Yes

Response

Name

Type

Description

Mandatory

Merchant.RemoveRestrictedProductsResponse

Object Merchant.RemoveRestrictedProductsResponse

Provides details about response to API call for removal of a restricted product.

Objects for RemoveRestrictedProducts API
Examples

Request

{
    "MerchantGUID": "abcdabcd-abcd-abcd-abcd-abcdabcdabcd",
     "CartToken": "d3b9d91b-cbc9-4485-9f37-b0490c419338",
     "CartId": "37296D5PJE",
     "UserId": null,
     "CountryCode": "VN",
     "CurrencyCode": "VND",
     "WebStoreCode": null,
     "WebStoreInstanceCode": null,
     "RemovedProductCodes": ["1601893OPK0XS"]
}

Response

{"IsSuccess": true}