---
schema_version: "1"
id: 5613d17384bae5ba106f2d3e0f1d4be5b9d22a6160840f8bb4dcaa663a215a33
title: ConnectApi.FulfillmentOrderInputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_fulfillment_order.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_fulfillment_order.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 10e63b4644e798022961d2718aaffdfc3c8517d47bd2008ab7f7519d352bdb82
description: An OrderDeliveryGroupSummary that defines a delivery method and recipient, and a list of fulfillment groups to assign to FulfillmentOrders. Each fulfillment group is a set of OrderItemSummaries that match the OrderDeliveryGroupSummary and share the same fulfillment location. The method creates a FulfillmentOrder for each fulfillment group and a FulfillmentOrderLineItem for each OrderItemSummary.
---
# ConnectApi.FulfillmentOrderInputRepresentation

An OrderDeliveryGroupSummary that defines a delivery method and recipient, and a list of fulfillment groups to assign to FulfillmentOrders. Each fulfillment group is a set of OrderItemSummaries that match the OrderDeliveryGroupSummary and share the same fulfillment location. The method creates a FulfillmentOrder for each fulfillment group and a FulfillmentOrderLineItem for each OrderItemSummary.

<table class="featureTable sort_table" summary="">




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d652648e46">Property</th>

              <th class="featureTableHeader vertical-align-top " id="d652648e49">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d652648e52">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d652648e55">Required or Optional</th>

              <th class="featureTableHeader vertical-align-top " id="d652648e58">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d652648e46 d652648e58" data-title="Property"><samp class="codeph apex_code">defaultActivationStatus</samp></td>

              <td class="entry" headers="d652648e49" data-title="Type">String</td>

              <td class="entry" headers="d652648e52" data-title="Description">
                <p class="p" id="defActivationStatus"><a name="defActivationStatus"><!-- --></a>Default activation status for a new fulfillment order.
                  If you don't specify a value, the default value is <samp class="codeph nolang">Allocated</samp>, which belongs to the <samp class="codeph nolang">Activated</samp> status category. This default can be changed, but the
                  replacement status must also have a status category of <samp class="codeph nolang">Activated</samp>.</p>

              </td>

              <td class="entry" headers="d652648e55" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d652648e46 d652648e58" data-title="Property">58.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d652648e46 d652648e58" data-title="Property"><samp class="codeph apex_code">fulfillmentGroups</samp></td>

              <td class="entry" headers="d652648e49" data-title="Type">
                <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list" title="Contains methods for the List collection type.">List</a>&lt;<samp class="codeph apex_code"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_fulfillment_group.htm" title="A list of OrderItemSummaries to be fulfilled together, and the fulfillment location to handle them. The fulfillment type is one of the values defined for the Type field on the FulfillmentOrder object, such as “Warehouse” or “Retail Store.” The specified type is assigned to the FulfillmentOrder for this fulfillment group.">ConnectApi.​FulfillmentGroup​Input​Representation</a></samp>&gt;
              </td>

              <td class="entry" headers="d652648e52" data-title="Description"><span class="ph" id="fulfillmentgroups"><a name="fulfillmentgroups"><!-- --></a>List of fulfillment groups that specify the
                  OrderItemSummaries and fulfillment locations.</span></td>

              <td class="entry" headers="d652648e55" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d652648e46 d652648e58" data-title="Property">48.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d652648e46 d652648e58" data-title="Property"><samp class="codeph apex_code">orderDelivery​GroupSummaryId</samp></td>

              <td class="entry" headers="d652648e49" data-title="Type">String</td>

              <td class="entry" headers="d652648e52" data-title="Description"><span class="ph" id="orderdeliverygroupsummaryid"><a name="orderdeliverygroupsummaryid"><!-- --></a>ID of the
                  OrderDeliveryGroupSummary.</span></td>

              <td class="entry" headers="d652648e55" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d652648e46 d652648e58" data-title="Property">48.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d652648e46 d652648e58" data-title="Property"><samp class="codeph apex_code">orderSummaryId</samp></td>

              <td class="entry" headers="d652648e49" data-title="Type">String</td>

              <td class="entry" headers="d652648e52" data-title="Description"><span class="ph" id="ordersummaryid"><a name="ordersummaryid"><!-- --></a>ID of the OrderSummary.</span></td>

              <td class="entry" headers="d652648e55" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d652648e46 d652648e58" data-title="Property">48.0</td>

            </tr>

          </tbody>

        </table>

#### See Also

- [createFulfillmentOrders(fulfillmentOrderInput)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_FulfillmentOrder_static_methods.htm#apex_ConnectAPI_FulfillmentOrder_createFulfillmentOrders_1 "Create one or more FulfillmentOrders and FulfillmentOrderLineItems for an OrderDeliveryGroupSummary, which defines a delivery method and recipient for an OrderSummary. You specify the OrderItemSummaries to allocate, which can be fulfilled from different locations. Specifying multiple fulfillment groups creates one FulfillmentOrder for each location. For each OrderItemSummary, a FulfillmentOrderLineItem is created and assigned to the corresponding FulfillmentOrder.")