warehouse_profile_create

Arguments

ArgumentTypeRequiredDefaultDescription
dataWarehouseProfileCreateInput!Yes

Return Type

WarehouseProfileCreateOutput

Mutation

mutation warehouse_profile_create(
  $data: WarehouseProfileCreateInput!
) {
  warehouse_profile_create(
    data: $data
  ) {
    request_id
    complexity
    warehouse_profile {
      ...WarehouseProfileFragment
    }
  }
}

Variables

{
  "data": {
    "warehouse_id": "abc123",
    "profile": "Retail Store",
    "invoice_address": WarehouseProfileAddressInput,
    "label_address": WarehouseProfileAddressInput,
    "phone_number": "+1-555-0100",
    "invoice_email": "invoices@example.com",
    "invoice_note": "Thank you for your order.",
    "invoice_logo_url": "abc123",
    "language": "en",
    "manual_order_prefix": "MO",
    "show_phone_on_invoice": true,
    "only_pick_orders_with_required_ship_date_today_or_earlier": true,
    "exclude_stock_from_available_to_sell": true
  }
}

Response

{
  "data": {
    "warehouse_profile_create": {
      "request_id": "UmVjb3JkOjEyMzQ=",
      "complexity": 100,
      "warehouse_profile": WarehouseProfile
    }
  }
}