Create and assign order to 3PL customer

i am trying to create an order via order_create mutation and its success but there is one issue, order is not assigned to the 3PL Customer account whose token being used. Request id is 61aa6ec785ed52dcbc3a3506

Hello @saif_storage!
I checked the payload, and it’s being sent by an account that belongs to the 3PL.
In this case, you need to use the field customer_account_id in the data section of your mutation.
Something like this:

mutation {
  order_create(
    data: {
      customer_account_id: string
      shop_name: "Manual Order"
      order_number: ""
(...)

Please let me know if this doesn’t help.
Have a nice day!
TomasFD

1 Like