Skip to main content
knowledgecenter.2checkout.com

Delete SKU codes by details

Overview

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 Required 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.

                                                    Currency

Optional

String. ISO currency code.

                                                    PurchaseType

Optional

String. Purchase type identifier. Possible values:

  • NEW_PRODUCT
  • RENEWAL
  • UPGRADE
                                                    PriceOptions Optional

stringArray.  Array of price options names.

                                                    Quantity

Optional Integer. Numeric identifier of product quantity.

Request Example 


Response Parameters

Parameters Type/Description
   
   

Response Example


 

  • Was this article helpful?