Create customer, addresses, and contacts for usage on sales orders

post

/fscmRestApi/fom/11.13.18.05/customerForSalesOrders/createCustomer

Create customer, addresses, and contacts for usage on sales orders.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Values that describe the create customer service.
Show Source
  • billTo
    Values that describe the Bill-to-account. It is applicable when billing accounts or invoice recipients are being created or managed separately. For schema, refer section BillToRequest.
  • Searches are case-insensitive by default (false). To enable a case-sensitive search, set this option to true.
  • This option, applicable to Person, Contact, and Address fields, controls whether null values are included in searches. By default (false), they are not; set it to true to enable their inclusion.
  • This flag, enables the creation of relationships between sold-to and ship-to parties. By default (false), relationship is not created; set it to true to enable relationship creation.
  • To enable custom numbering for parties, party sites, and accounts, set it to true. By default (false), the system will auto-generate these numbers for you.
  • shipTo
    Values that describe the Ship-to-party. It is useful in cases where shipping destinations need to be defined independently of the primary customer record. For schema, refer section ShipToRequest.
  • soldTo
    Values that describe the Sold-to-party. It is typically used when establishing a primary customer entity without immediate need for billing or shipping details or contact detail. For schema, refer section SoldToRequest.
Nested Schema : billTo
Type: object
Values that describe the Bill-to-account. It is applicable when billing accounts or invoice recipients are being created or managed separately. For schema, refer section BillToRequest.
Show Source
Nested Schema : shipTo
Type: object
Values that describe the Ship-to-party. It is useful in cases where shipping destinations need to be defined independently of the primary customer record. For schema, refer section ShipToRequest.
Show Source
Nested Schema : soldTo
Type: object
Values that describe the Sold-to-party. It is typically used when establishing a primary customer entity without immediate need for billing or shipping details or contact detail. For schema, refer section SoldToRequest.
Show Source
Nested Schema : BillToRequest
Type: object
Values that describe the bill-to-account.
Show Source
Nested Schema : address
Type: object
Address of the party. For schema, refer section AddressRequest.
Show Source
Nested Schema : contact
Type: object
Contact of the party. For schema, refer section PersonRequest.
Show Source
Nested Schema : organizationAccount
Type: object
Organization account details. For schema, refer section OrganizationAccountRequest.
Show Source
Nested Schema : personAccount
Type: object
Person account details. For schema, refer section PersonAccountRequest.
Show Source
Nested Schema : AddressRequest
Type: object
Values that describe the address.
Show Source
  • First line for address.
  • Second line for address.
  • Third line for address.
  • Fourth line for address.
  • The name of the city or locality in which the address is located.
  • The name or ISO code of the country. This is a required field and drives address validation logic and country-specific formatting rules.
  • A sub-region within a state or province, applicable in some countries for more granular geographic segmentation. This field may be optional depending on the country.
  • Party site number of the associated address.
  • Used primarily for countries where the term province is used instead of or in addition to state (e.g., Canada, China). This can be used in conjunction with or instead of the State field depending on the country.
  • The state, province, or region applicable to the address. This field is typically used in countries where states are standard (e.g., the United States, India, Australia).
  • A postal or zip code used for mail sorting and delivery. This is often required for validating the address and enabling accurate shipping and billing.
Nested Schema : PersonRequest
Type: object
Values that describe the person.
Show Source
Nested Schema : OrganizationAccountRequest
Type: object
Values that describe the organization account.
Show Source
Nested Schema : PersonAccountRequest
Type: object
Values that describe the Person
Show Source
Nested Schema : ShipToRequest
Type: object
Values that describe the ship-to-party.
Show Source
Nested Schema : address
Type: object
Address of the party. For schema, refer section AddressRequest.
Show Source
Nested Schema : contact
Type: object
Contact of the party. For schema, refer section PersonRequest.
Show Source
Nested Schema : organizationParty
Type: object
Organization party details. For schema, refer section OrganizationRequest.
Show Source
Nested Schema : personParty
Type: object
Person party details. For schema, refer section PersonRequest.
Show Source
Nested Schema : OrganizationRequest
Type: object
Values that describe the organization.
Show Source
Nested Schema : SoldToRequest
Type: object
Values that describe the sold-to-party.
Show Source
Nested Schema : contact
Type: object
Contact of the party. For schema, refer section PersonRequest.
Show Source
Nested Schema : organizationParty
Type: object
Organization party details. For schema, refer section OrganizationRequest.
Show Source
Nested Schema : personParty
Type: object
Person party details. For schema, refer section PersonRequest.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Customer information successfully.
Body ()
Root Schema : CustomerResponse
Type: object
Values that describe the create customer service.
Show Source
  • billTo
    Values that describe the Bill-to-account. It is applicable when billing accounts or invoice recipients are being created or managed separately. For schema, refer section BillToResponse.
  • Searches are case-insensitive by default (false). To enable a case-sensitive search, set this option to true.
  • This option, applicable to Person, Contact, and Address fields, controls whether null values are included in searches. By default (false), they are not; set it to true to enable their inclusion.
  • This flag, enables the creation of relationships between sold-to and ship-to parties. By default (false), relationship is not created; set it to true to enable relationship creation.
  • errors
    List of errors.
  • To enable custom numbering for parties, party sites, and accounts, set it to true. By default (false), the system will auto-generate these numbers for you.
  • shipTo
    Values that describe the Ship-to-party. It is useful in cases where shipping destinations need to be defined independently of the primary customer record. For schema, refer section ShipToResponse.
  • soldTo
    Values that describe the Sold-to-party. It is typically used when establishing a primary customer entity without immediate need for billing or shipping details or contact detail. For schema, refer section SoldToResponse.
Nested Schema : billTo
Type: object
Values that describe the Bill-to-account. It is applicable when billing accounts or invoice recipients are being created or managed separately. For schema, refer section BillToResponse.
Show Source
Nested Schema : errors
Type: array
List of errors.
Show Source
Nested Schema : shipTo
Type: object
Values that describe the Ship-to-party. It is useful in cases where shipping destinations need to be defined independently of the primary customer record. For schema, refer section ShipToResponse.
Show Source
Nested Schema : soldTo
Type: object
Values that describe the Sold-to-party. It is typically used when establishing a primary customer entity without immediate need for billing or shipping details or contact detail. For schema, refer section SoldToResponse.
Show Source
Nested Schema : BillToResponse
Type: object
Values that describe the bill-to-account.
Show Source
Nested Schema : address
Type: object
Address of the party. For schema, refer section AddressResponse.
Show Source
Nested Schema : contact
Type: object
Contact of the party. For schema, refer section ContactAccountResponse.
Show Source
Nested Schema : organizationAccount
Type: object
Organization account details. For schema, refer section OrganizationAccountResponse.
Show Source
Nested Schema : personAccount
Type: object
Person account details. For schema, refer section PersonAccountResponse.
Show Source
Nested Schema : AddressResponse
Type: object
Values that describe the Address
Show Source
  • First line for address.
  • Second line for address.
  • Third line for address.
  • Fourth line for address.
  • The name of the city or locality in which the address is located.
  • The name or ISO code of the country. This is a required field and drives address validation logic and country-specific formatting rules.
  • A sub-region within a state or province, applicable in some countries for more granular geographic segmentation. This field may be optional depending on the country.
  • Location identifier of the associated address.
  • Party site identifier of the associated address.
  • Party site number of the associated address.
  • Used primarily for countries where the term province is used instead of or in addition to state (e.g., Canada, China). This can be used in conjunction with or instead of the State field depending on the country.
  • The state, province, or region applicable to the address. This field is typically used in countries where states are standard (e.g., the United States, India, Australia).
  • A postal or zip code used for mail sorting and delivery. This is often required for validating the address and enabling accurate shipping and billing.
Nested Schema : ContactAccountResponse
Type: object
Values that describe the Person
Show Source
Nested Schema : OrganizationAccountResponse
Type: object
Values that describe the organization account.
Show Source
Nested Schema : PersonAccountResponse
Type: object
Values that describe the person.
Show Source
Nested Schema : ShipToResponse
Type: object
Values that describe the ship-to-party.
Show Source
Nested Schema : address
Type: object
Address of the party. For schema, refer section AddressResponse.
Show Source
Nested Schema : contact
Type: object
Contact of the party. For schema, refer section ContactResponse.
Show Source
Nested Schema : organizationParty
Type: object
Organization party details. For schema, refer section OrganizationResponse.
Show Source
Nested Schema : personParty
Type: object
Person party details. For schema, refer section PersonResponse.
Show Source
Nested Schema : ContactResponse
Type: object
Values that describe the person.
Show Source
Nested Schema : OrganizationResponse
Type: object
Values that describe the organization.
Show Source
Nested Schema : PersonResponse
Type: object
Values that describe the person.
Show Source
Nested Schema : SoldToResponse
Type: object
Values that describe the Sold-to-party.
Show Source
Nested Schema : contact
Type: object
Contact of the party. For schema, refer section ContactResponse.
Show Source
Nested Schema : organizationParty
Type: object
Organization party details. For schema, refer section OrganizationResponse.
Show Source
Nested Schema : personParty
Type: object
Person party details. For schema, refer section PersonResponse.
Show Source

400 Response

Invalid input request.
Back to Top