updatePricelist

Navigation:  WebService Calls > Basic Integration >

updatePricelist

Previous pageReturn to chapter overviewNext page

Texte ein-/ausblenden

Description

Create and update pricelists. Pricelists can be assigned to accounts and accounts are assigned to trading channels in Speed4Trade CONNECT.

 

For additional Growth options see also the full updatePricelist call.

Request - Sample

Code

Request - Basic Field List

Name

Description

Occ.

Type

Value Info

request

Root-Element of request.

1

Element


method

Attribute of request. Name of Webservice-Method.

1

string

Fixed value: „updatePricelist“

version

Attribute of request. Version of the request.

1

integer

Fixed value: „1.0.0“

pricelist

Wrapper-Element, summarizing the data of a pricelist.

1..N

Element


significant_key

Selected identifier for pricelist updates.

1

string

Fixed value: "identifier", "external_id"

mandator_id

Client ID

1

integer


external_id

Externe ID of pricelist.

0..1

string


identifier

Unique pricelist identifier.

1

string


full_import

Allows for full import (delete pricelist and import full) or just updating transmitted prices (update).

1

boolean

true = full import

false = update

iso_currency

currency

1

string


rounding_id

ID of rounding setting

1

integer

Fixed values.

gross

Flag to identify a pricelist as net/gross

0..1

boolean

true = gross (default)

false = net

validities

Wrapper-Element, which contains the pricelist information for multiple time validities.

1

Element


validity

Wrapper-Element, which contains the pricelist information just for the "infinite" validity.

1..N

Element

For additional Growth options see also the full updatePricelist call.

prices

Wrapper-Element, which summarizes the price information for all items.

1

Element


entry

Wrapper-Element, which contains the price.

1..N

Element


item_nr

Attribute of entry. The internal item number.

1

string


price

Attribute of entry. The item price

1

decimal


Response - Sample

Code

Response - Basic Field List

Name

Description

Occ.

Type

Value Info

response

Root-element of response

1

Element


method

Attribute of response. Name of Webservice-Method.

1

string

fixed value: „updatePricelist“

version

Attribute of response. Version control of request.

1

string

fixed value:  „1.0.0“

report

Information about executed operation. A report element is returned for each requested pricelist element.

1..N

Element


return_code

Attribute of report. Identifies error reason code.

1

integer

0 = OK.

< 0 = error

error_description

Describes errors and error reasons of executed operation, once appeared.

0..1

string


Hinweise

For additional Growth options, especially using validities beyond the infinite validity, see also the full updatePricelist call.

Value Tables

Value Table - for Field: rounding_id.

Value

Description

1

"rounded to 2 decimal figures":

Commercial rounding (Default)

2

"rounding to 0,99":
Rounding up and down of the prices decimal figures to x,99.

(Sample: 18,49 € => 17,99 €; 18,50 € => 18,99 €.)

Changelog

Version

Change Description

4.8.46

Introduction of a Basic "Simplified" Integration