---
updatedAt: 2025-06-16T23:22:46.000Z
agentTools:
  projectIndex: https://developers.directscale.com/llms.txt
---

# /api/extension/services/OrderService/v1/SubmitOrder

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Extension Services",
    "version": "extensionServices"
  },
  "servers": [
    {
      "url": "https://{clientId}.corpadmin.directscalestage.com",
      "variables": {
        "clientId": {
          "default": "clientId"
        }
      }
    }
  ],
  "paths": {
    "/api/extension/services/OrderService/v1/SubmitOrder": {
      "post": {
        "tags": [
          "OrderService"
        ],
        "operationId": "OrderService_SubmitOrder_v1",
        "parameters": [
          {
            "name": "X-DirectScale-User",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DiscoMVC.Controllers.Extension.GeneratedControllers.OrderServiceController.SubmitOrder_v1_Request"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectScale.Disco.Extension.PaymentResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Extension_Token": []
          }
        ],
        "x-codegen-request-body-name": "request"
      }
    }
  },
  "components": {
    "schemas": {
      "DirectScale.Disco.Extension.Address": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "AddressLine1": {
            "type": "string"
          },
          "AddressLine2": {
            "type": "string"
          },
          "AddressLine3": {
            "type": "string"
          },
          "City": {
            "type": "string"
          },
          "State": {
            "type": "string"
          },
          "PostalCode": {
            "type": "string"
          },
          "CountryCode": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.CustomFields": {
        "type": "object",
        "properties": {
          "Field1": {
            "type": "string"
          },
          "Field2": {
            "type": "string"
          },
          "Field3": {
            "type": "string"
          },
          "Field4": {
            "type": "string"
          },
          "Field5": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.LineItem": {
        "type": "object",
        "properties": {
          "ItemId": {
            "type": "integer",
            "format": "int32"
          },
          "Quantity": {
            "type": "number",
            "format": "double"
          },
          "Cost": {
            "type": "number",
            "format": "double"
          },
          "Disabled": {
            "type": "boolean"
          },
          "ExtendedPrice": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "ExtendedOriginalPrice": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "ExtendedBonus": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "ExtendedCV": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "ExtendedQV": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "ExtendedRewardPoints": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "ExtendedCost": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "ProductName": {
            "type": "string"
          },
          "Description": {
            "type": "string"
          },
          "Specifications": {
            "type": "string"
          },
          "LanguageCode": {
            "type": "string"
          },
          "SKU": {
            "type": "string"
          },
          "Category": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.Category"
          },
          "ChargeShipping": {
            "type": "boolean"
          },
          "Height": {
            "type": "number",
            "format": "double"
          },
          "Image": {
            "type": "string"
          },
          "Length": {
            "type": "number",
            "format": "double"
          },
          "LengthUOM": {
            "type": "string"
          },
          "MPN": {
            "type": "string"
          },
          "PackCount": {
            "type": "number",
            "format": "double"
          },
          "PackageGroupId": {
            "type": "integer",
            "format": "int32"
          },
          "TaxClassId": {
            "type": "integer",
            "format": "int32"
          },
          "UnitOfMeasure": {
            "type": "string"
          },
          "UPC": {
            "type": "string"
          },
          "Weight": {
            "type": "number",
            "format": "double"
          },
          "WeightUOM": {
            "type": "string"
          },
          "Width": {
            "type": "number",
            "format": "double"
          },
          "FlagBirthDefects": {
            "type": "boolean"
          },
          "HasKitGroups": {
            "type": "boolean"
          },
          "FlagCancer": {
            "type": "boolean"
          },
          "PriceGroup": {
            "type": "integer",
            "format": "int32"
          },
          "Custom": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.CustomFields"
          },
          "Images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.ItemImage"
            }
          },
          "Prices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.LineItemPrice"
            }
          },
          "Options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.LineItemOption"
            }
          },
          "ItemOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.ItemOption"
            }
          },
          "Languages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.LanguageMap"
            }
          },
          "OptionsMap": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.ItemOptionKeyMap"
            }
          },
          "HasOptions": {
            "type": "boolean",
            "readOnly": true
          },
          "Price": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "PriceCurrency": {
            "type": "string",
            "readOnly": true
          },
          "OriginalPrice": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "Bonus": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "CV": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "QV": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "RewardPoints": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "CouponsBeingUsed": {
            "type": "integer",
            "format": "int32"
          },
          "OutOfStockStatus": {
            "type": "integer",
            "format": "int32"
          },
          "PriceGroups": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "integer",
              "format": "int32"
            }
          }
        }
      },
      "DirectScale.Disco.Extension.Category": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string"
          },
          "CategoryTranslations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.CategoryTranslation"
            }
          },
          "Description": {
            "type": "string"
          },
          "DisplayIndex": {
            "type": "number",
            "format": "double"
          },
          "ImageUrl": {
            "type": "string"
          },
          "ParentId": {
            "type": "integer",
            "format": "int32"
          },
          "ProductLineId": {
            "type": "integer",
            "format": "int32"
          },
          "ShortDescription": {
            "type": "string"
          },
          "StoreIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "HasChildren": {
            "type": "boolean"
          }
        }
      },
      "DirectScale.Disco.Extension.ItemImage": {
        "type": "object",
        "properties": {
          "Description": {
            "type": "string"
          },
          "Path": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.LineItemPrice": {
        "type": "object",
        "properties": {
          "GroupId": {
            "type": "integer",
            "format": "int32"
          },
          "Price": {
            "type": "number",
            "format": "double"
          },
          "PriceCurrency": {
            "type": "string"
          },
          "OriginalPrice": {
            "type": "number",
            "format": "double"
          },
          "Bonus": {
            "type": "number",
            "format": "double"
          },
          "CV": {
            "type": "number",
            "format": "double"
          },
          "QV": {
            "type": "number",
            "format": "double"
          },
          "RewardPoints": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "DirectScale.Disco.Extension.LineItemOption": {
        "type": "object",
        "properties": {
          "OptionId": {
            "type": "integer",
            "format": "int32"
          },
          "Option": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.ItemOption": {
        "type": "object",
        "properties": {
          "OptionId": {
            "type": "integer",
            "format": "int32"
          },
          "Option": {
            "type": "string"
          },
          "OptionType": {
            "type": "integer",
            "format": "int32"
          },
          "Values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.ItemOptionValues"
            }
          }
        }
      },
      "DirectScale.Disco.Extension.LanguageMap": {
        "type": "object",
        "properties": {
          "Description": {
            "type": "string"
          },
          "LanguageCode": {
            "type": "string"
          },
          "ProductName": {
            "type": "string"
          },
          "SEOKeywords": {
            "type": "string"
          },
          "Specifications": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.ItemOptionKeyMap": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string"
          },
          "Checked": {
            "type": "boolean"
          },
          "ItemId": {
            "type": "integer",
            "format": "int32"
          },
          "Image": {
            "type": "string"
          },
          "ExtSku": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.CategoryTranslation": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "CategoryId": {
            "type": "integer",
            "format": "int32"
          },
          "Description": {
            "type": "string"
          },
          "Name": {
            "type": "string"
          },
          "LanguageCode": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.ItemOptionValues": {
        "type": "object",
        "properties": {
          "Option": {
            "type": "string"
          },
          "SkuExt": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.NewPayment": {
        "type": "object",
        "properties": {
          "Input1": {
            "type": "string"
          },
          "Input2": {
            "type": "string"
          },
          "FirstSix": {
            "type": "string"
          },
          "Last4": {
            "type": "string"
          },
          "CardType": {
            "type": "string"
          },
          "InputMonth": {
            "type": "integer",
            "format": "int32"
          },
          "InputYear": {
            "type": "integer",
            "format": "int32"
          },
          "SecurityCode": {
            "type": "string"
          },
          "MerchantId": {
            "type": "integer",
            "format": "int32"
          },
          "Amount": {
            "type": "number",
            "format": "double"
          },
          "CurrencyCode": {
            "type": "string"
          },
          "OrderPaymentId": {
            "type": "integer",
            "format": "int32"
          },
          "RedirectUrl": {
            "type": "string"
          },
          "PaymentMethodId": {
            "type": "string"
          },
          "ProfileType": {
            "type": "string",
            "enum": [
              "Unknown",
              "DoNotSave",
              "Primary",
              "Secondary",
              "OneTimeUse",
              "Redirect"
            ]
          },
          "FraudPreventionData": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.FraudPreventionData"
          },
          "ExpireDate": {
            "type": "string",
            "format": "date-time"
          },
          "Address": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.Address"
          },
          "BillingInfo": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.PaymentMethodBillingInfo"
          }
        }
      },
      "DirectScale.Disco.Extension.FraudPreventionData": {
        "type": "object",
        "properties": {
          "FraudPreventionId": {
            "type": "string"
          },
          "FraudPreventionProviderId": {
            "type": "string"
          },
          "FraudPreventionType": {
            "type": "string",
            "enum": [
              "PhoneOrder",
              "Autoship",
              "CloudSparkOrder",
              "PublicApi",
              "Enrollment"
            ]
          },
          "IpAddress": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.PaymentMethodBillingInfo": {
        "type": "object",
        "properties": {
          "PaymentMethodId": {
            "type": "integer",
            "format": "int32"
          },
          "Address": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.Address"
          },
          "FirstName": {
            "type": "string"
          },
          "LastName": {
            "type": "string"
          },
          "FullName": {
            "type": "string"
          },
          "EmailAddress": {
            "type": "string"
          },
          "PhoneNumber": {
            "type": "string"
          }
        }
      },
      "DirectScale.Disco.Extension.PaymentResponse": {
        "type": "object",
        "properties": {
          "PaymentType": {
            "type": "string"
          },
          "AuthorizationCode": {
            "type": "string"
          },
          "Response": {
            "type": "string"
          },
          "ResponseId": {
            "type": "string"
          },
          "TransactionNumber": {
            "type": "string"
          },
          "ReferenceNumber": {
            "type": "string"
          },
          "Status": {
            "type": "string",
            "enum": [
              "Accepted",
              "Pending",
              "Rejected",
              "NotProvided",
              "PendingPreCheck",
              "PendingFraudReview",
              "FraudRejected"
            ]
          },
          "Amount": {
            "type": "number",
            "format": "double"
          },
          "Currency": {
            "type": "string"
          },
          "Merchant": {
            "type": "integer",
            "format": "int32"
          },
          "FraudPreventionId": {
            "type": "string"
          },
          "FraudPreventionProviderId": {
            "type": "integer",
            "format": "int32"
          },
          "OrderNumber": {
            "type": "integer",
            "format": "int32"
          },
          "Redirect": {
            "type": "boolean"
          },
          "RedirectURL": {
            "type": "string"
          },
          "SpecialInstructionsURL": {
            "type": "string"
          },
          "SavedPaymentId": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "DiscoMVC.Controllers.Extension.GeneratedControllers.OrderServiceController.SubmitOrder_v1_Request": {
        "type": "object",
        "properties": {
          "Order": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.NewOrderDetail"
          },
          "Payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.NewPayment"
            }
          }
        }
      },
      "DirectScale.Disco.Extension.NewOrderDetail": {
        "type": "object",
        "properties": {
          "AssociateId": {
            "type": "integer",
            "format": "int32"
          },
          "ShipToName": {
            "type": "string"
          },
          "Attention": {
            "type": "string"
          },
          "ShipAddress": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.Address"
          },
          "InvoiceDate": {
            "type": "string",
            "format": "date-time"
          },
          "CommissionDate": {
            "type": "string",
            "format": "date-time"
          },
          "ShipByDate": {
            "type": "string",
            "format": "date-time"
          },
          "ShipMethodId": {
            "type": "integer",
            "format": "int32"
          },
          "WarehouseId": {
            "type": "integer",
            "format": "int32"
          },
          "ShipPhone": {
            "type": "string"
          },
          "PartyId": {
            "type": "integer",
            "format": "int32"
          },
          "PriceGroupId": {
            "type": "integer",
            "format": "int32"
          },
          "SpecialInstructions": {
            "type": "string"
          },
          "OrderSource": {
            "type": "string",
            "enum": [
              "Unknown",
              "PublicApi",
              "V1Api",
              "V2Api",
              "CorpAdmin",
              "DataMigration",
              "ImportOrder",
              "Autoship",
              "Facade",
              "UnknownExtension",
              "PublicApiExtension",
              "V1ApiExtension",
              "V2ApiExtension",
              "CorpAdminExtension",
              "ImportOrderExtension",
              "AutoshipExtension",
              "FacadeExtension"
            ]
          },
          "OrderType": {
            "type": "string",
            "enum": [
              "Unknown",
              "Standard",
              "Autoship",
              "Enrollment",
              "VolumeAdjustment"
            ]
          },
          "AssociateType": {
            "type": "integer",
            "format": "int32"
          },
          "StoreId": {
            "type": "integer",
            "format": "int32"
          },
          "CurrencyCode": {
            "type": "string"
          },
          "CouponCodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "LineItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.LineItem"
            }
          },
          "ShipTaxOverride": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.ShippingTaxOverride"
          },
          "Custom": {
            "$ref": "#/components/schemas/DirectScale.Disco.Extension.CustomFields"
          }
        }
      },
      "DirectScale.Disco.Extension.ShippingTaxOverride": {
        "type": "object",
        "properties": {
          "Shipping": {
            "type": "number",
            "format": "double"
          },
          "Tax": {
            "type": "number",
            "format": "double"
          },
          "HasShippingOverride": {
            "type": "boolean"
          },
          "HasTaxOverride": {
            "type": "boolean"
          }
        }
      }
    },
    "securitySchemes": {
      "Extension_Token": {
        "type": "apiKey",
        "description": "Bearer Token For Extension",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```