Posts a client's web order

Request

POST https://api.gencom.be:49012/TV2/Execute/GCAPIPACK.B2C_PostWebOrder

Request body

The request body takes a complete JSON Body - B2C_PostWebOrder resource, containing the following writable properties:

{
    "WEBORDER": {
        "WEBORDERHEADER": {
            "ADDRESSES": {
                "DELIVERY": {
                    "ADDRESS": "string",
                    "CITY": "string",
                    "COMPANYNAME": "string",
                    "COUNTRYPOST": "string",
                    "FIRSTNAME": "string",
                    "FORENAME": "string",
                    "HOUSENUMBER": "string",
                    "LASTNAME": "string",
                    "MAPAREA": "string",
                    "POSTALCODE": "string",
                    "POSTBOX": "string"
                },
                "INVOICE": {
                    "ADDRESS": "string",
                    "CITY": "string",
                    "COMPANYNAME": "string",
                    "COUNTRYPOST": "string",
                    "FIRSTNAME": "string",
                    "FORENAME": "string",
                    "HOUSENUMBER": "string",
                    "LASTNAME": "string",
                    "MAPAREA": "string",
                    "POSTALCODE": "string",
                    "POSTBOX": "string"
                }
            },
            "ADVANCE": "float",
            "COMPLETELYPAID": "integer",
            "DATEORDERED": "string",
            "EMAIL": "string",
            "ORDERNUMBER": "string",
            "PAYMENTBONUSCARD": "float",
            "PAYMENTBONUSCARDNO": "float",
            "PAYMENTCARD": "float",
            "PAYMENTINFOCARD": "string",
            "PAYMENTINFOPROMOCODE1": "string",
            "PAYMENTINFOPROMOCODE2": "string",
            "PAYMENTINFOPROMOCODE3": "string",
            "PAYMENTINFOPROMOCODE4": "string",
            "PAYMENTINFOPROMOCODE5": "string",
            "PAYMENTPROMOCODE1": "float",
            "PAYMENTPROMOCODE2": "float",
            "PAYMENTPROMOCODE3": "float",
            "PAYMENTPROMOCODE4": "float",
            "PAYMENTPROMOCODE5": "float",
            "PAYMENTVOUCHER1": "float",
            "PAYMENTVOUCHER2": "float",
            "PAYMENTVOUCHER3": "float",
            "PAYMENTVOUCHER4": "float",
            "PAYMENTVOUCHER5": "float",
            "PAYMENTVOUCHERNUMBER1": "string",
            "PAYMENTVOUCHERNUMBER2": "string",
            "PAYMENTVOUCHERNUMBER3": "string",
            "PAYMENTVOUCHERNUMBER4": "string",
            "PAYMENTVOUCHERNUMBER5": "string",
            "PICKUPLOCATION": "float",
            "REFERENCE": "string",
            "SALESLOCATION": "string",
            "SHOPASSISTANT": "integer",
            "VATNO": "string",
            "WEBID": "string"
        },
        "WEBORDERLINES": {
            "ARTICLE": "string",
            "CODEDISCOUNT": "string",
            "DISCOUNT": "float",
            "LINESEQUENCE": "integer",
            "PRICEEXCLDISCOUNT": "float",
            "PRICEINCLDISCOUNT": "float",
            "QUANTITY": "float",
            "REASONRETURN": "string",
            "SIZEX": "string",
            "TOTALNETPRICE": "float",
            "TOTALPRICE": "float"
        }
    }
}

Properties

Name Type Description
WEBORDER object
WEBORDER.WEBORDERHEADER object
WEBORDER.WEBORDERHEADER.ADDRESSES object
WEBORDER.WEBORDERHEADER.ADDRESSES.DELIVERY object
WEBORDER.WEBORDERHEADER.ADDRESSES.DELIVERY.ADDRESS string
WEBORDER.WEBORDERHEADER.ADDRESSES.DELIVERY.CITY string
WEBORDER.WEBORDERHEADER.ADDRESSES.DELIVERY.COMPANYNAME string
WEBORDER.WEBORDERHEADER.ADDRESSES.DELIVERY.COUNTRYPOST string
WEBORDER.WEBORDERHEADER.ADDRESSES.DELIVERY.FIRSTNAME string
WEBORDER.WEBORDERHEADER.ADDRESSES.DELIVERY.FORENAME string
WEBORDER.WEBORDERHEADER.ADDRESSES.DELIVERY.HOUSENUMBER string
WEBORDER.WEBORDERHEADER.ADDRESSES.DELIVERY.LASTNAME string
WEBORDER.WEBORDERHEADER.ADDRESSES.DELIVERY.MAPAREA string
WEBORDER.WEBORDERHEADER.ADDRESSES.DELIVERY.POSTALCODE string
WEBORDER.WEBORDERHEADER.ADDRESSES.DELIVERY.POSTBOX string
WEBORDER.WEBORDERHEADER.ADDRESSES.INVOICE object
WEBORDER.WEBORDERHEADER.ADDRESSES.INVOICE.ADDRESS string
WEBORDER.WEBORDERHEADER.ADDRESSES.INVOICE.CITY string
WEBORDER.WEBORDERHEADER.ADDRESSES.INVOICE.COMPANYNAME string
WEBORDER.WEBORDERHEADER.ADDRESSES.INVOICE.COUNTRYPOST string
WEBORDER.WEBORDERHEADER.ADDRESSES.INVOICE.FIRSTNAME string
WEBORDER.WEBORDERHEADER.ADDRESSES.INVOICE.FORENAME string
WEBORDER.WEBORDERHEADER.ADDRESSES.INVOICE.HOUSENUMBER string
WEBORDER.WEBORDERHEADER.ADDRESSES.INVOICE.LASTNAME string
WEBORDER.WEBORDERHEADER.ADDRESSES.INVOICE.MAPAREA string
WEBORDER.WEBORDERHEADER.ADDRESSES.INVOICE.POSTALCODE string
WEBORDER.WEBORDERHEADER.ADDRESSES.INVOICE.POSTBOX string
WEBORDER.WEBORDERHEADER.ADVANCE float
WEBORDER.WEBORDERHEADER.COMPLETELYPAID integer
WEBORDER.WEBORDERHEADER.DATEORDERED string
WEBORDER.WEBORDERHEADER.EMAIL string
WEBORDER.WEBORDERHEADER.ORDERNUMBER string
WEBORDER.WEBORDERHEADER.PAYMENTBONUSCARD float
WEBORDER.WEBORDERHEADER.PAYMENTBONUSCARDNO float
WEBORDER.WEBORDERHEADER.PAYMENTCARD float
WEBORDER.WEBORDERHEADER.PAYMENTINFOCARD string
WEBORDER.WEBORDERHEADER.PAYMENTINFOPROMOCODE1 string
WEBORDER.WEBORDERHEADER.PAYMENTINFOPROMOCODE2 string
WEBORDER.WEBORDERHEADER.PAYMENTINFOPROMOCODE3 string
WEBORDER.WEBORDERHEADER.PAYMENTINFOPROMOCODE4 string
WEBORDER.WEBORDERHEADER.PAYMENTINFOPROMOCODE5 string
WEBORDER.WEBORDERHEADER.PAYMENTPROMOCODE1 float
WEBORDER.WEBORDERHEADER.PAYMENTPROMOCODE2 float
WEBORDER.WEBORDERHEADER.PAYMENTPROMOCODE3 float
WEBORDER.WEBORDERHEADER.PAYMENTPROMOCODE4 float
WEBORDER.WEBORDERHEADER.PAYMENTPROMOCODE5 float
WEBORDER.WEBORDERHEADER.PAYMENTVOUCHER1 float
WEBORDER.WEBORDERHEADER.PAYMENTVOUCHER2 float
WEBORDER.WEBORDERHEADER.PAYMENTVOUCHER3 float
WEBORDER.WEBORDERHEADER.PAYMENTVOUCHER4 float
WEBORDER.WEBORDERHEADER.PAYMENTVOUCHER5 float
WEBORDER.WEBORDERHEADER.PAYMENTVOUCHERNUMBER1 string
WEBORDER.WEBORDERHEADER.PAYMENTVOUCHERNUMBER2 string
WEBORDER.WEBORDERHEADER.PAYMENTVOUCHERNUMBER3 string
WEBORDER.WEBORDERHEADER.PAYMENTVOUCHERNUMBER4 string
WEBORDER.WEBORDERHEADER.PAYMENTVOUCHERNUMBER5 string
WEBORDER.WEBORDERHEADER.PICKUPLOCATION float
WEBORDER.WEBORDERHEADER.REFERENCE string
WEBORDER.WEBORDERHEADER.SALESLOCATION string
WEBORDER.WEBORDERHEADER.SHOPASSISTANT integer
WEBORDER.WEBORDERHEADER.VATNO string
WEBORDER.WEBORDERHEADER.WEBID string
WEBORDER.WEBORDERLINES object
WEBORDER.WEBORDERLINES.ARTICLE string
WEBORDER.WEBORDERLINES.CODEDISCOUNT string
WEBORDER.WEBORDERLINES.DISCOUNT float
WEBORDER.WEBORDERLINES.LINESEQUENCE integer
WEBORDER.WEBORDERLINES.PRICEEXCLDISCOUNT float
WEBORDER.WEBORDERLINES.PRICEINCLDISCOUNT float
WEBORDER.WEBORDERLINES.QUANTITY float
WEBORDER.WEBORDERLINES.REASONRETURN string
WEBORDER.WEBORDERLINES.SIZEX string
WEBORDER.WEBORDERLINES.TOTALNETPRICE float
WEBORDER.WEBORDERLINES.TOTALPRICE float

Authorisation

This request requires the use of one of following authorisation methods: TOKEN .

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

successful operation

JSON Response B2C_PostWebOrder