# Order Processing

Spectrum has created a service to directly pull new custom orders from the client’s Shopify store for processing, provide processing updates, and complete fulfillment.  This means that once the user pays for the product, Spectrum can handle all the communication to make the product and communicate back to Shopify once the order has shipped with tracking number.  Spectrum can also update variant inventory positions if this information is provided by the fulfillment organization.

In order to enable this functionality, Spectrum requires a custom Shopify App to the ecommerce store.

To create the custom app, please follow the following steps:

* In your Shopify store admin panel, go to **Settings > Apps and Sales Channels**.
* Click **Develop Apps**.
* Click **Create an App** and give it a name (e.g. *Spectrum Order Integration*).
* Assign API access scopes:
  * `write_assigned_fulfillment_orders`,&#x20;
  * `read_assigned_fulfillment_orders`,&#x20;
  * `read_customers`,&#x20;
  * `write_fulfillments`,&#x20;
  * `read_fulfillments`,&#x20;
  * `write_inventory`,&#x20;
  * `read_inventory`,&#x20;
  * `write_locations`,&#x20;
  * `read_locations`,&#x20;
  * `write_merchant_managed_fulfillment_orders`,&#x20;
  * `read_merchant_managed_fulfillment_orders`,&#x20;
  * `write_metaobject_definitions`,&#x20;
  * `read_metaobject_definitions`,&#x20;
  * `write_metaobjects`,&#x20;
  * `read_metaobjects`,&#x20;
  * `read_orders`,&#x20;
  * `write_inventory_shipments_received_items`,&#x20;
  * `read_inventory_shipments_received_items`,&#x20;
  * `write_custom_fulfillment_services`,&#x20;
  * `read_custom_fulfillment_services`,&#x20;
  * `write_third_party_fulfillment_orders`,&#x20;
  * `read_third_party_fulfillment_orders`,&#x20;
  * `write_shipping`,&#x20;
  * `read_shipping`,&#x20;
  * `read_returns`,&#x20;
  * `read_products`,&#x20;
  * `write_inventory_transfers`,&#x20;
  * `read_inventory_transfers`

<figure><img src="/files/0g1lHYshoFzuJz1TDD7n" alt=""><figcaption></figcaption></figure>

* Click **Save** and then **Install App** to generate API credentials (Admin API key, Secret Key, and Access Token).
* Securely share the keys and token with your Spectrum project manager.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.spectrumcustomizer.com/integration/ecommerce/spectrum-and-shopify-integration/order-processing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
