extensions / Shipment rules
POST/api/projects/{project_id}/sales/shipment-rules

POST /api/projects/{project_id}/sales/shipment-rules

A description is not available in the current release metadata.

GETPOST
Code examples
Integration
POST /api/projects/{project_id}/sales/shipment-rules
EnvironmentBASE_URL
Request
curl --request POST \
  --url "${BASE_URL}/api/projects/example_project_id/sales/shipment-rules" \
  --header "Content-Type: application/json" \
  --data @request.json
Response

Response examples are not available in the current release metadata.

Authentication

Authentication requirements are not specified for this operation.

Authentication

Requirement
Not specified
Credential type
Not specified
Scopes
Not specified

Headers

Path Parameters

NameRequiredType
project_idYesNot specified

Query Parameters

Request Body

Schema: UpsertShipmentRuleRequest

FieldRequiredType
nameNoNot specified
descriptionNoNot specified
is_activeNoNot specified
priorityNoNot specified
discard_subsequentNoNot specified
shipping_carriersNoNot specified
shipping_methodsNoNot specified
ignore_free_shipping_promoNoNot specified
calculation_typeNoNot specified
base_rateNoNot specified
fixed_rate_per_productNoNot specified
rate_per_unit_weightNoNot specified

Response Body

Errors

Availability

Available in
v0.1.0
Available since
v0.1.0
Implementation
Available
Deprecation
Not specified
Rate limits
Not specified