CreateSupplierCommandResponse
Creates a new supplier. Errors: errorCode is SUPPLIER_COMPANY_NAME_REQUIRED, SUPPLIER_ADDRESS_REQUIRED, SUPPLIER_STREET_REQUIRED, SUPPLIER_POSTAL_CODE_REQUIRED, SUPPLIER_CITY_REQUIRED, SUPPLIER_COUNTRY_ISO_REQUIRED, SUPPLIER_LANGUAGE_ISO_REQUIRED, SUPPLIER_CURRENCY_ISO_REQUIRED (a required value is missing), SUPPLIER_VALUE_TOO_LONG (a value exceeds its maximum length), SUPPLIER_EMAIL_INVALID (the e-mail address is not valid), SUPPLIER_CASH_DISCOUNT_PERCENTAGE_REQUIRED (a cash discount period is set without a positive percentage), SUPPLIER_DEFAULT_COMPANY_ID_REQUIRED, SUPPLIER_DEFAULT_WAREHOUSE_ID_REQUIRED, SUPPLIER_INVALID_DEFAULT_COMPANY_ID, SUPPLIER_INVALID_DEFAULT_WAREHOUSE_ID (the default company or warehouse is missing or does not exist). - Response
CreateSupplierCommandResponseFields
The ID of the newly created supplier.
Was this page helpful?