HTTP | /<service>/<version>/<parameters> |
POST | /salesorders/v4/websubmit |
Environment | Request URL |
UAT | https://ihubuat.supplystream.com:8081/api/salesorders/v4/websubmit?api_key=<api_Key> |
Live | https://ihub.supplystream.com:8081/api/salesorders/v4/websubmit?api_key=<api_Key> |
Header | Requirement | JSON | XML |
Content-Type | Required | Content-Type: application/json | Content-Type: application/xml |
Accept | Optional. Returns Content-Type format if undefined | Accept: application/json | Accept: application/xml |
API call formatting
XML Format | |
Body | <Request> <WebSalesOrder> <SalesInvoiceNumber>string</SalesInvoiceNumber> <DocumentIdentifier>string</DocumentIdentifier> <NIFNumber>string</NIFNumber> <ShippingVAT>1.1</ShippingVAT> <ShippingExVAT>1.1</ShippingExVAT> <CustomsValueTotal>1.1</CustomsValueTotal> <DiscountPriceTotal>1.1</DiscountPriceTotal> <GiftWrap>true</GiftWrap> <GiftMessage>string</GiftMessage> <ShippingTerm>string</ShippingTerm> <ShippingTermLocation>string</ShippingTermLocation> <GiftMessageFrom>string</GiftMessageFrom> <GiftMessageTo>string</GiftMessageTo> <ShippingTotal>1.1</ShippingTotal> <TaxTotal>1.1</TaxTotal> <SubTotal>1.1</SubTotal> <OrderType>string</OrderType> <CurrencyCode>string</CurrencyCode> <CarrierCustomerAccountNo>string</CarrierCustomerAccountNo> <CourierName>string</CourierName> <CourierService>string</CourierService> <DeliveryAddressLocationType>string</DeliveryAddressLocationType> <DoNotPushToDC>true</DoNotPushToDC> <GUID>string</GUID> <LocationType>string</LocationType> <Notes>string</Notes> <NotificationMethod>string</NotificationMethod> <OnHold>true</OnHold> <SalesOrderDate>1970-01-01T00:00:00.001Z</SalesOrderDate> <SalesOrderNumber>string</SalesOrderNumber> <SalesOrderReference>string</SalesOrderReference> <ScheduledShipDate>1970-01-01T00:00:00.001Z</ScheduledShipDate> <ShipmentTerms>string</ShipmentTerms> <SpecialInstructions>string</SpecialInstructions> <UltimateDestination>string</UltimateDestination><GroupReference>string</GroupReference> </WebSalesOrder> <SalesOrderHeader> <DCCode>string</DCCode> </SalesOrderHeader> <DeliveryDetails> <City>string</City> <ContactCode>string</ContactCode> <CountryCode>string</CountryCode> <County>string</County> <EmailAddress>string</EmailAddress> <FirstName>string</FirstName> <LastName>string</LastName> <Line1>string</Line1> <Line2>string</Line2> <Line3>string</Line3> <Line4>string</Line4> <PhoneNumber>string</PhoneNumber> <PostcodeZip>string</PostcodeZip> <Title>string</Title> </DeliveryDetails> <BillingDetails> <City>string</City> <ContactCode>string</ContactCode> <CountryCode>string</CountryCode> <County>string</County> <EmailAddress>string</EmailAddress> <FirstName>string</FirstName> <LastName>string</LastName> <Line1>string</Line1> <Line2>string</Line2> <Line3>string</Line3> <Line4>string</Line4> <PhoneNumber>string</PhoneNumber> <PostcodeZip>string</PostcodeZip> <Title>string</Title> </BillingDetails> <ForwardingAgent> <City>string</City> <CompanyCode>string</CompanyCode> <CompanyDescription>string</CompanyDescription> <ContactCode>string</ContactCode> <CountryCode>string</CountryCode> <County>string</County> <EmailAddress>string</EmailAddress> <FirstName>string</FirstName> <LastName>string</LastName> <Line1>string</Line1> <Line2>string</Line2> <Line3>string</Line3> <Line4>string</Line4> <PhoneNumber>string</PhoneNumber> <PostcodeZip>string</PostcodeZip> <Title>string</Title> </ForwardingAgent> <List> <SalesOrderLineItem> <UnitDiscountPrice>1.1</UnitDiscountPrice> <OrderLineMessage>string</OrderLineMessage> <SecondaryCurrencyCode>string</SecondaryCurrencyCode> <SecondaryUnitPrice>1.1</SecondaryUnitPrice> <SecondaryVAT>1.1</SecondaryVAT> <ASNNumber>string</ASNNumber> <CustomsValue>1.1</CustomsValue> <Channel>string</Channel> <CountryCode>string</CountryCode> <CurrencyCode>string</CurrencyCode> <EAN>string</EAN> <ExternalDocumentNo>string</ExternalDocumentNo> <GUID>string</GUID> <LineNumber>1</LineNumber> <LotNo>string</LotNo> <ProductCode>string</ProductCode> <Quantity>1</Quantity> <UnitPrice>1.1</UnitPrice> <VAT>1.1</VAT> </SalesOrderLineItem> </List> </Request> |
Example success Response Body | <Response> |
Example failure Response Body | <Response> |
JSON Format | |
Body | { "GroupReference": "string" |
Example success Response Body | { |
Example failure Response Body | { |
Add Comment