Skip to main content
Skip table of contents

Request Object – AccountSetup

Field

Type

Description

ChangeAction*

byte

The type of account change requested. Valid values are:

1 – add account
2 – edit account
3 – delete account

ChangeStatus

string (50)

Not currently used.

ChangePending

string (50)

Not currently used.

SupplierId*

int

The unique PharmX ID for the supplier company receiving the order (e.g, API Australia has SupplierId = 5)

StateSupplierId*

 

int

The PharmX ID for the supplier where the supplier is sub-divided into states (e.g. , API NSW has StateSupplierId = 1107)

AccountNumber*

string (50)

The supplier allocated account number that identifies the pharmacy’s account.

PharmacyName

string (50)

Name of the pharmacy; rendered in the Portal.

MaxOrdersPerMonth

int

Not currently used.

MinimumOrderValue

decimal

The minimum order value required.

The default minimum order value that a supplier expects can be retrieved from MinimumOrderValue against the supplier in List Suppliers.

FreightCosts

decimal

Not currently used.

Note

string (50)

The description for the account; rendered in the Portal.

AccountSetupId*

guid

Not currently used. Provide a empty guid to avoid deserialisation issues.

BillToAccountNumber

string (50)

The supplier allocated account number that identifies the account to which the financial liability will be attached. Falls back to the AccountNumber if not provided.

WithSupplier

boolean

Not currently used.

WithVendor

boolean

Not currently used.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.