dropshipment

Dropshipment v2 - Createorder

Creates a dropshipment order.

If one of the orders has an invalid address, none of the orders will be created.

This service is part of Withings Pro Solutions. You won't be able to use it if you did not sign a contract with Withings. Do not use this service if you're integrating Withings Cellular Solutions with dropshipment. In that case, please use the createuserorder action

posthttps://wbsapi.withings.net/v2/dropshipment

Request

  • Base URL
    https://wbsapi.withings.net
  • Auth
    none declared

Query parameters

actionstring required

Service action name. Must take the string value createorder.

client_idstring required

Id of the client

noncestring required

A random token used to prevent replay attacks (Cf. Signature v2 - Getnonce)

signaturestring required

Hash of params (Cf. Signature hash protocol).

orderunknown required

Refer to Order model. The maximum number of orders is 10 per API request.

customeridstring

Your dropshipment billing ID. If you don't know it, ignore this parameter.

testmodeinteger

If is set, it will create fake orders, and simulate the evolution of the orders status and sending of notifications.<br>1: SHIPPED sequence<br>2: TRASHED sequence<br>3: FAILED sequence<br>4: BACKHOLD sequence

platformidunknown

The platform ID

Response

(Click to unfold)

statusinteger

Response status. See <a href='#tag/response_status'>Status</a> section for details.

Example response

{
  "body": {
    "orders": [
      {
        "order_id": "D12345678",
        "customer_ref_id": "MOUVEMENTREFERENCE12345678",
        "dropshipmentorderid": "32948634",
        "status": "ADDRESS VERIFICATION",
        "products": [
          {
            "ean": "3700546702518",
            "partner_ref": "REF-12345",
            "quantity": 3
          }
        ]
      }
    ],
    "dropshipmentorderid": "4874687"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.