Error creating order mutation - "message": "Product with sku does not exist",

Hi

I´m creating an order, but somehow it says SKU does not exists

mutation {

  order_create(

    data: {

      order_number: "2"

      shop_name: "ExampleShop"

      fulfillment_status: "pending"

      order_date: "2019-07-29"

      total_tax: "29.00"

      subtotal: "150.00"

      total_discounts: "20.00"

      total_price: "159.00"

      shipping_lines: {

        title: "UPS"

        price: "0.00"

        carrier: "UPS"

        method: "Ground"

      }

      shipping_address: {

        first_name: "John"

        last_name: "Johnson"

        company: "The Johnson Co"

        address1: "2543 Duck St."

        address2: "Apt. 2"

        city: "Oklahoma"

        state: "Oklahoma"

        state_code: "OK"

        zip: "73008"

        country: "US"

        country_code: "US"

        email: "johnjohnsonco@johnsonco.com"

        phone: "5555555555"

      }

      billing_address: {

        first_name: "John"

        last_name: "Johnson"

        company: "The Johnson Co"

        address1: "2543 Duck St."

        address2: "Apt. 2"

        city: "Oklahoma"

        state: "OK"

        state_code: "OK"

        zip: "73008"

        country: "US"

        country_code: "US"

        email: "johnjohnsonco@johnsonco.com"

        phone: "5555555555"

      }

      line_items: {

        sku: "ACLFBLK-HRHAT50"

        partner_line_item_id: "UHJvZHVjdEluZm86Mjg5MjA1ODc4"

        quantity: 1

        price: "150.00"

        product_name: "Example Product"

        fulfillment_status: "pending"

        quantity_pending_fulfillment: 1

        warehouse_id: "V2FyZWhvdXNlOjgxODcx"

      }

      required_ship_date: "2019-08-29"

    }

  ) {

    request_id

    complexity

    order {

      id

      order_number

      shop_name

      fulfillment_status

      order_date

      total_tax

      subtotal

      total_discounts

      total_price

      custom_invoice_url

      account_id

      email

      profile

      packing_note

      required_ship_date

      shipping_address {

        first_name

        last_name

        company

        address1

        address2

        city

        state

        state_code

        zip

        country

        country_code

        email

        phone

      }

      line_items(first: 1) {

        edges {

          node {

            id

            sku

            product_id

            quantity

            product_name

            fulfillment_status

            quantity_pending_fulfillment

            quantity_allocated

            backorder_quantity

            eligible_for_return

            customs_value

            warehouse_id

            locked_to_warehouse_id

          }

        }

      }

    }

  }

}

And I definetly can find it

please help

Hello @jesse!

Would you mind me running some tests in that account?

Kind regards,
TomasFD

Hey Tom,

Yeah please feel free to run all the tests you want. Can’t hurt anything in this test account we are using to prove the integration before we switch over to the real account.

Hello @jesse!

I just sent you an inbox.

Best,
TomasFD

We are still have the same error, can we schedule a zoom call ?

Hello @jesse!

Could you first share the request ID you got with the error?

I’d like to trace the API call.

Kind regards,
TomasFD

“request_id”: “62961628ceee3c801e92a2e3”,

@jesse!

My answer had some info that might be sensitive, so I answered straight to your inbox.

Have a great day!
TomasFD