younifyd
Menu

Update orders/{parent_id}

Update orders/{parent_id}

PUT/V1/orders/{parent_id}

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Update orders/{parent_id} action (under Orders).
  3. Fill in the fields below, then reference the result from later steps as {{updateOrdersParentId.response.data}}.

Request

Path parameters

parent_idstringrequired

Request body

Enter the body as JSON in the step's Body field.

entityobjectrequired

Order address interface. An order is a document that a web store issues to a customer. Magento generates a sales order that lists the product items, billing and shipping addresses, and shipping and payment methods. A corresponding external document, known as a purchase order, is emailed to the customer.

address_typestringrequired

Address type.

citystringrequired

City.

companystring

Company.

country_idstringrequired

Country ID.

customer_address_idinteger

Country address ID.

customer_idinteger

Customer ID.

emailstring

Email address.

entity_idinteger

Order address ID.

faxstring

Fax number.

firstnamestringrequired

First name.

lastnamestringrequired

Last name.

middlenamestring

Middle name.

parent_idinteger

Parent ID.

postcodestringrequired

Postal code.

prefixstring

Prefix.

regionstring

Region.

region_codestring

Region code.

region_idinteger

Region ID.

streetarray<string>

Array of any street values. Otherwise, null.

suffixstring

Suffix.

telephonestringrequired

Telephone number.

vat_idstring

VAT ID.

vat_is_validinteger

VAT-is-valid flag value.

vat_request_datestring

VAT request date.

vat_request_idstring

VAT request ID.

vat_request_successinteger

VAT-request-success flag value.

extension_attributesobject

ExtensionInterface class for @see \Magento\Sales\Api\Data\OrderAddressInterface

json
{
  "entity": {
    "address_type": "string",
    "city": "string",
    "country_id": "string",
    "firstname": "string",
    "lastname": "string",
    "postcode": "string",
    "telephone": "string",
    "company": "string",
    "customer_address_id": 0,
    "customer_id": 0,
    "email": "string",
    "entity_id": 0
  }
}

Response

Returns 200 with an object. Read it in later steps with {{updateOrdersParentId.response.data.<field>}}.

address_typestring

Address type.

citystring

City.

companystring

Company.

country_idstring

Country ID.

customer_address_idinteger

Country address ID.

customer_idinteger

Customer ID.

emailstring

Email address.

entity_idinteger

Order address ID.

faxstring

Fax number.

firstnamestring

First name.

lastnamestring

Last name.

middlenamestring

Middle name.

parent_idinteger

Parent ID.

postcodestring

Postal code.

prefixstring

Prefix.

regionstring

Region.

region_codestring

Region code.

region_idinteger

Region ID.

streetarray<string>

Array of any street values. Otherwise, null.

suffixstring

Suffix.

telephonestring

Telephone number.

vat_idstring

VAT ID.

vat_is_validinteger

VAT-is-valid flag value.

vat_request_datestring

VAT request date.

vat_request_idstring

VAT request ID.

vat_request_successinteger

VAT-request-success flag value.

extension_attributesobject

ExtensionInterface class for @see \Magento\Sales\Api\Data\OrderAddressInterface

json
{
  "address_type": "string",
  "city": "string",
  "country_id": "string",
  "firstname": "string",
  "lastname": "string",
  "postcode": "string",
  "telephone": "string",
  "company": "string",
  "customer_address_id": 0,
  "customer_id": 0,
  "email": "string",
  "entity_id": 0
}

Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.