Class /GOOG/CL_MERCHANTAPI_INVENTORI

Class

/GOOG/CL_MERCHANTAPI_INVENTORI
  • Inheriting from:/GOOG/CL_HTTP_CLIENT
  • Description:Merchant API inventories_v1beta
For general information about a class in ABAP SDK for Google Cloud, see API client stub.

Types

Type Description Visibility
TY_001 CustomAttribute PUBLIC
TY_003 Interval PUBLIC
TY_004 ListLocalInventoriesResponse PUBLIC
TY_005 ListRegionalInventoriesResponse PUBLIC
TY_006 LocalInventory PUBLIC
TY_007 Price PUBLIC
TY_009 RegionalInventory PUBLIC
TY_T_001 CustomAttribute PUBLIC
TY_T_006 LocalInventory PUBLIC
TY_T_009 RegionalInventory PUBLIC

Constants

Name Type Description Value Visibility
C_ROOT_URL STRING API Root URL https://merchantapi.googleapis.com PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name merchantapi:inventories_v1beta PUBLIC
C_SUPPORTED_AUTH /GOOG/SUPP_AUTH Supported Auth Types IJIJWW 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.

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_LOCAL_INVENTORIES

  • Description: merchantapi.accounts.products.localInventories.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
IV_P_PRODUCTS_ID IMPORTING STRING productsId
IV_P_LOCAL_INVENTORIES_ID IMPORTING STRING localInventoriesId
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

DELETE_REGIONAL_INVENTORIES

  • Description: merchantapi.accounts.products.regionalInventories.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
IV_P_PRODUCTS_ID IMPORTING STRING productsId
IV_P_REGIONAL_INVENTORIES_ID IMPORTING STRING regionalInventoriesId
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

INSERT_LOCAL_INVENTORIES

  • Description: merchantapi.accounts.products.localInventories.insert
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
IV_P_PRODUCTS_ID IMPORTING STRING productsId
IS_INPUT IMPORTING TY_006 LocalInventory
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_006 LocalInventory
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_REGIONAL_INVENTORIES

  • Description: merchantapi.accounts.products.regionalInventories.insert
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
IV_P_PRODUCTS_ID IMPORTING STRING productsId
IS_INPUT IMPORTING TY_009 RegionalInventory
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 RegionalInventory
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_LOCAL_INVENTORIES

  • Description: merchantapi.accounts.products.localInventories.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
IV_P_PRODUCTS_ID IMPORTING STRING productsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_004 ListLocalInventoriesResponse
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_REGIONAL_INVENTORIES

  • Description: merchantapi.accounts.products.regionalInventories.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
IV_P_PRODUCTS_ID IMPORTING STRING productsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_005 ListRegionalInventoriesResponse
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