UpdateCustomerNoAccountEdit module

class q2_sdk.hq.hq_api.q2_api.UpdateCustomerNoAccountEdit.ParamsObj(logger, dal_customer_edit=None, customer_rights=None, hq_credentials=None)[source]

Bases: Q2ApiParamsObj

Parameters definition for UpdateCustomerNoAccountEdit

See also

UpdateCustomerNoAccountEdit_models for DataSet schemas and builder functions.

Parameters:
  • logger (TypeAliasType) – Reference to calling request’s logger (self.logger in your extension)

  • dal_customer_edit (Optional[DataSetBuilder]) – DataSetBuilder instance

  • customer_rights (Optional[DataSetBuilder]) – DataSetBuilder instance

  • hq_credentials (Optional[HqCredentials]) – Defaults to settings.HQ_CREDENTIALS

async q2_sdk.hq.hq_api.q2_api.UpdateCustomerNoAccountEdit.execute(params_obj, use_json=True, **kwargs)[source]

This is the default way to submit the request to HQ.

This endpoint uses DataSet parameters and defaults to the JSON (.ashx) transport. SOAP (.asmx) is not supported for DataSet serialization.

Parameters:
  • params_obj (ParamsObj) – Object containing everything necessary to call this HQ endpoint

  • use_json – If True, will call HQ’s .ashx (json) endpoint instead of .asmx (soap)

Return type:

HqResponse

async q2_sdk.hq.hq_api.q2_api.UpdateCustomerNoAccountEdit.get_soap(params_obj, **kwargs)[source]

Deprecated. Please use execute instead

Return type:

HqResponse

async q2_sdk.hq.hq_api.q2_api.UpdateCustomerNoAccountEdit.get_json(params_obj, **kwargs)[source]

Deprecated. Please use execute instead

Return type:

HqResponse

q2_sdk.hq.hq_api.q2_api.UpdateCustomerNoAccountEdit.build_json(params_obj)[source]