Change in Order Create Mutation (allocation_priority)

Hello!

This announcement is to let you know that a minor change will be made to the Order Create Mutation.

What is the change?

We will be updating the allocation_priority field, which currently works as a Boolean (true/false) but it doesn’t reflect the 3 types of priority we have (Low/Default/High).
The field will be changing to be an int

  • High will be 1
  • Default will be 0
    -Low will be -1

What do I need to change on my Mutation when this change takes place?

If you have been using this mutation

mutation {
  order_create(data: { 
    ...
    allocation_priority: true
    ...
  }) {
    request_id
    complexity
  }
}

You will have to change it to something like this

mutation {
  order_create(data: { 
    ...
    allocation_priority: 1
    ...
  }) {
    request_id
    complexity
  }
}

When will the change take place?

We will be releasing this change on 23/07/2020 at 11AM EST

We appreciate your understanding and patience on this.
Please don’t hesitate to reach us if there is anything we could help you with.
Thanks!