Delete SKU codes by details

Use the deleteSkuCodeByDetails method to remove an SKU based on its included details.

When requesting to delete SKU by details, the 2Checkout system will delete all SKU defined under the specific product code or pricing configuration code. If the combination does not contain any SKU defined, the system will return an error with the result. The method supports multiple combinations of product code, pricing configuration code in one call.

Request parameters

Parameters
Type / Description

ProductCode

Required (string)

The product code that you can define for each of your offerings. Needs to be unique.

skuDetailsObject

Object

Details below.

PricingConfigurationCode

Optional (string)

Unique identifier of the pricing configuration.

PricingConfigurationCode.Currency

Optional (string)

ISO currency code.

PricingConfigurationCode.PurchaseType

Optional (string)

Purchase type identifier. Possible values:

  • NEW_PRODUCT

  • RENEWAL

  • UPGRADE

PricingConfigurationCode.PriceOptions

Optional (stringArray)

Array of price options names.

PricingConfigurationCode.Quantity

Optional (integer)

Numeric identifier of product quantity.

Last updated

Was this helpful?