gift-wrappings

gift-wrappings

post/V1/gift-wrappings

Create/Update new gift wrapping with data object values

Request
Request Body schema:
required
object (gift-wrapping-data-wrapping-interface)

Interface WrappingInterface

storeId
integer
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "data": {
    },
  • "storeId": 0
}
Response samples
{
  • "wrapping_id": 0,
  • "design": "string",
  • "status": 0,
  • "base_price": 0,
  • "image_name": "string",
  • "image_base64_content": "string",
  • "base_currency_code": "string",
  • "website_ids": [
    ],
  • "image_url": "string",
  • "extension_attributes": { }
}

gift-wrappings

get/V1/gift-wrappings

Return list of gift wrapping data objects based on search criteria

Request
query Parameters
searchCriteria[currentPage]
integer

Current page.

searchCriteria[filterGroups][0][filters][0][conditionType]
string

Condition type

searchCriteria[filterGroups][0][filters][0][field]
string

Field

searchCriteria[filterGroups][0][filters][0][value]
string

Value

searchCriteria[pageSize]
integer

Page size.

searchCriteria[sortOrders][0][direction]
string

Sorting direction.

searchCriteria[sortOrders][0][field]
string

Sorting field.

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

Response samples
{
  • "items": [
    ],
  • "search_criteria": {
    },
  • "total_count": 0
}