<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">On-premises or any cloud edition v1.15</button>

- [SAP BTP edition v1.1](https://docs.cloud.google.com/sap/docs/abap-sdk/btp/latest/reference/googcl_merchantapi_productsv)
- [On-premises or any cloud edition v1.15](https://docs.cloud.google.com/sap/docs/abap-sdk/on-premises-or-any-cloud/latest/reference/googcl_merchantapi_productsv.md.txt)

## Class

```abap
/GOOG/CL_MERCHANTAPI_PRODUCTSV
```

- Inheriting from:`/GOOG/CL_HTTP_CLIENT`
- Description:`Merchant API products_v1beta`

For general information about a class in ABAP SDK for Google Cloud, see [API client stub](https://docs.cloud.google.com/sap/docs/abap-sdk/latest/developer#client_stub).

## Types

| Type | Description | Visibility |
|---|---|---|
| `TY_001` | `Attributes` | PUBLIC |
| `TY_002` | `Certification` | PUBLIC |
| `TY_003` | `CloudExportAdditionalProperties` | PUBLIC |
| `TY_004` | `CustomAttribute` | PUBLIC |
| `TY_005` | `DestinationStatus` | PUBLIC |
| `TY_007` | `FreeShippingThreshold` | PUBLIC |
| `TY_008` | `Installment` | PUBLIC |
| `TY_009` | `Interval` | PUBLIC |
| `TY_010` | `ItemLevelIssue` | PUBLIC |
| `TY_011` | `ListProductsResponse` | PUBLIC |
| `TY_012` | `LoyaltyPoints` | PUBLIC |
| `TY_013` | `LoyaltyProgram` | PUBLIC |
| `TY_014` | `Price` | PUBLIC |
| `TY_015` | `Product` | PUBLIC |
| `TY_017` | `ProductDetail` | PUBLIC |
| `TY_018` | `ProductDimension` | PUBLIC |
| `TY_019` | `ProductInput` | PUBLIC |
| `TY_020` | `ProductStatus` | PUBLIC |
| `TY_021` | `ProductStructuredDescription` | PUBLIC |
| `TY_022` | `ProductStructuredTitle` | PUBLIC |
| `TY_023` | `ProductSustainabilityIncentive` | PUBLIC |
| `TY_024` | `ProductWeight` | PUBLIC |
| `TY_025` | `Shipping` | PUBLIC |
| `TY_026` | `ShippingDimension` | PUBLIC |
| `TY_027` | `ShippingWeight` | PUBLIC |
| `TY_028` | `SubscriptionCost` | PUBLIC |
| `TY_029` | `Tax` | PUBLIC |
| `TY_030` | `UnitPricingBaseMeasure` | PUBLIC |
| `TY_031` | `UnitPricingMeasure` | PUBLIC |
| `TY_T_002` | `Certification` | PUBLIC |
| `TY_T_003` | `CloudExportAdditionalProperties` | PUBLIC |
| `TY_T_004` | `CustomAttribute` | PUBLIC |
| `TY_T_005` | `DestinationStatus` | PUBLIC |
| `TY_T_007` | `FreeShippingThreshold` | PUBLIC |
| `TY_T_010` | `ItemLevelIssue` | PUBLIC |
| `TY_T_013` | `LoyaltyProgram` | PUBLIC |
| `TY_T_015` | `Product` | PUBLIC |
| `TY_T_017` | `ProductDetail` | PUBLIC |
| `TY_T_023` | `ProductSustainabilityIncentive` | PUBLIC |
| `TY_T_025` | `Shipping` | PUBLIC |
| `TY_T_029` | `Tax` | PUBLIC |
| `TY_T_STRING` | `Table of Strings` | PUBLIC |
| `TYT/GOOG/NUM_FLOAT` |   | PUBLIC |

## Constants

| Name | Type | Description | Value | Visibility |
|---|---|---|---|---|
| `C_SUPPORTED_AUTH` | `/GOOG/SUPP_AUTH` | Supported Auth Types | IJIJWW | PUBLIC |
| `C_SERVICE_NAME` | `/GOOG/SERVICE_NAME` | Google Service Name | merchantapi:products_v1beta | PUBLIC |
| `C_ROOT_URL` | `STRING` | API Root URL | https://merchantapi.googleapis.com | PUBLIC |
| `C_REVISION_DATE` | `DATUM` | Discovery Document revision Date | 20250301 | PUBLIC |
| `C_PATH_PREFIX` | `STRING` | API Path Prefix |   | PUBLIC |
| `C_ON_PREM_VERSION` | `/GOOG/SDK_VERSION` | Lowest On-premises Version | 1.7 | PUBLIC |
| `C_CLOUD_VERSION` | `/GOOG/SDK_VERSION` | Lowest Cloud Version |   | PUBLIC |

## Methods

For general information about a method in ABAP SDK for Google Cloud, see [API method](https://docs.cloud.google.com/sap/docs/abap-sdk/latest/developer#api_method).

### CONSTRUCTOR

- Description: Constructor
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_KEY_NAME` | IMPORTING | `/GOOG/KEYNAME` | Google Cloud Key Name |
| `IV_LOG_OBJ` | IMPORTING | `BALOBJ_D` | Application log: Object name (Application code) |
| `IV_LOG_SUBOBJ` | IMPORTING | `BALSUBOBJ` | Application Log: Subobject |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### DELETE_PRODUCT_INPUTS

- Description: merchantapi.accounts.productInputs.delete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_DATASOURCE` | IMPORTING | `STRING` | dataSource |
| `IV_P_ACCOUNTS_ID` | IMPORTING | `STRING` | accountsId |
| `IV_P_PRODUCT_INPUTS_ID` | IMPORTING | `STRING` | productInputsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `DATA` | Output Data |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_PRODUCTS

- Description: merchantapi.accounts.products.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_ACCOUNTS_ID` | IMPORTING | `STRING` | accountsId |
| `IV_P_PRODUCTS_ID` | IMPORTING | `STRING` | productsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_015` | Product |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### INSERT_PRODUCT_INPUTS

- Description: merchantapi.accounts.productInputs.insert
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_DATASOURCE` | IMPORTING | `STRING` | dataSource |
| `IV_P_ACCOUNTS_ID` | IMPORTING | `STRING` | accountsId |
| `IS_INPUT` | IMPORTING | `TY_019` | ProductInput |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_019` | ProductInput |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_PRODUCTS

- Description: merchantapi.accounts.products.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_PAGESIZE` | IMPORTING | `STRING` | pageSize |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_P_ACCOUNTS_ID` | IMPORTING | `STRING` | accountsId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_011` | ListProductsResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CLOSE

- Description: Close Connection
- Visibility: PUBLIC