Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Products

CreateUpdateProductByID

Creates or updates a product in Microbizz.

...

productnumberstringProduct number
customeridnumberId of the customer for which to remove any individual price. If this is omitted, then individual pricing will be removed for all customers.

Output

None--

CreateUpdateIndividualPricesByCustomerID

Update (or create) existing individual prices for a customer.

Input

pricessetNew prices per unit (in pence/cent/øre) hashed by product numbers
customeridnumberId of the customer for which to update individual prices.
allow_createboolSet to 1 to create individual prices that do not already exist

Output

statssetInformation about the number of prices created/updated/skipped/not changed