Method: sellers.orders.lines.create

Creates a new line.

  • Returns the newly created line if successful.
  • Returns error code PERMISSION_DENIED if the user does not have access to the seller or seller id does not exist
  • Returns error code INVALID_ARGUMENT if invalid fields are provided.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The parent order name under which the line will be created. Format: sellers/{seller}/orders/{order}

Request body

The request body contains an instance of Line.

Response body

If successful, the response body contains a newly created instance of Line.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the OAuth 2.0 Overview.