Mercari
App · 20 actions
Read Mercari Shops products, orders, transactions and inquiries; update products and stock, and message buyers. Requires a Japanese Mercari Shops API account.
Actions
| Action | What it does |
|---|---|
| Get inquiry | Get inquiry from Mercari Shops. |
| Get order | Get order from Mercari Shops. |
| Get order transaction | Get order transaction from Mercari Shops. |
| Get product | Get product from Mercari Shops. |
| Get shipping configuration | Get shipping configuration from Mercari Shops. |
| Get shop | Get shop from Mercari Shops. |
| List inquiries | List inquiries from Mercari Shops. |
| List inquiry messages | List inquiry messages from Mercari Shops. |
| List order cancellations | List order cancellations from Mercari Shops. |
| List order shippings | List order shippings from Mercari Shops. |
| List order transactions | List order transactions from Mercari Shops. |
| List orders | List orders from Mercari Shops. |
| List product brands | List product brands from Mercari Shops. |
| List product categories | List product categories from Mercari Shops. |
| List products | List products from Mercari Shops. |
| List shipping configurations | List shipping configurations from Mercari Shops. |
| List states | List states from Mercari Shops. |
| Send order message | Send a message to the buyer on an order transaction. |
| Update product | Change a product’s name, description, price or visibility; other fields stay as they are. |
| Update stock | Set a variant’s absolute stock quantity using its variant ID or shop SKU. |
Get inquiry
Get inquiry from Mercari Shops.
Inputs
- Id
idtextRequired - Id.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"inquiry": {
"firstOpenedAt": "example",
"id": "example",
"lastActivityAt": "example",
"status": "example"
}
}
}Get order
Get order from Mercari Shops.
Inputs
- Id
idtextRequired - Id.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"order": {
"createdAt": "example",
"id": "example",
"paidAt": "example",
"status": "example",
"totalPrice": 1,
"updatedAt": "example"
}
}
}Get order transaction
Get order transaction from Mercari Shops.
Inputs
- Id
idtextRequired - Id.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"orderTransaction": {
"createdAt": "example",
"id": "example",
"paidAt": "example",
"status": "example",
"totalPrice": 1,
"updatedAt": "example"
}
}
}Get product
Get product from Mercari Shops.
Inputs
- Id
idtextRequired - Id.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"product": {
"createdAt": "example",
"description": "example",
"id": "example",
"name": "example",
"price": 1,
"status": "example",
"updatedAt": "example",
"variants": []
}
}
}Get shipping configuration
Get shipping configuration from Mercari Shops.
Inputs
- Id
idtextRequired - Id.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"productShippingConfiguration": {
"createdAt": "example",
"displayId": "example",
"id": "example",
"title": "example",
"type": "example",
"updatedAt": "example"
}
}
}Get shop
Get shop from Mercari Shops.
Inputs
None.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"shop": {
"createdAt": "example",
"description": "example",
"id": "example",
"name": "example",
"shopStatus": "example"
}
}
}List inquiries
List inquiries from Mercari Shops.
Inputs
- First
firstnumber - First.From 1 to 100.
- After
aftertext - After.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"inquiries": {
"edges": [],
"pageInfo": {
"endCursor": "example",
"hasNextPage": false
}
}
}
}List inquiry messages
List inquiry messages from Mercari Shops.
Inputs
- First
firstnumber - First.From 1 to 100.
- After
aftertext - After.
- Inquiry ID
inquiryIdtextRequired - Inquiry ID.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"inquiryMessages": {
"edges": [],
"pageInfo": {
"endCursor": "example",
"hasNextPage": false
}
}
}
}List order cancellations
List order cancellations from Mercari Shops.
Inputs
- First
firstnumber - First.From 1 to 100.
- After
aftertext - After.
- Order transaction ID
orderTransactionIdtextRequired - Order transaction ID.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"orderCancellations": {
"edges": [],
"pageInfo": {
"endCursor": "example",
"hasNextPage": false
}
}
}
}List order shippings
List order shippings from Mercari Shops.
Inputs
- First
firstnumber - First.From 1 to 100.
- After
aftertext - After.
- Order transaction ID
orderTransactionIdtext - Order transaction ID.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"orderShippings": {
"edges": [],
"pageInfo": {
"endCursor": "example",
"hasNextPage": false
}
}
}
}List order transactions
List order transactions from Mercari Shops.
Inputs
- First
firstnumber - First.From 1 to 100.
- After
aftertext - After.
- Ordered date gte
orderedDateGtedate and time - Ordered date gte.
- Ordered date lt
orderedDateLtdate and time - Ordered date lt.
- Updated date gte
updatedDateGtedate and time - Updated date gte.
- Updated date lt
updatedDateLtdate and time - Updated date lt.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"orderTransactions": {
"edges": [],
"pageInfo": {
"endCursor": "example",
"hasNextPage": false
}
}
}
}List orders
List orders from Mercari Shops.
Inputs
- First
firstnumber - First.From 1 to 100.
- After
aftertext - After.
- Keyword
keywordtext - Keyword.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"orders": {
"edges": [],
"pageInfo": {
"endCursor": "example",
"hasNextPage": false
}
}
}
}List product brands
List product brands from Mercari Shops.
Inputs
None.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"productBrands": []
}
}List product categories
List product categories from Mercari Shops.
Inputs
None.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"productCategories": []
}
}List products
List products from Mercari Shops.
Inputs
- First
firstnumber - First.From 1 to 100.
- After
aftertext - After.
- Keyword
keywordtext - Keyword.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"products": {
"edges": [],
"pageInfo": {
"endCursor": "example",
"hasNextPage": false
}
}
}
}List shipping configurations
List shipping configurations from Mercari Shops.
Inputs
- First
firstnumber - First.From 1 to 100.
- After
aftertext - After.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"productShippingConfigurations": {
"edges": [],
"pageInfo": {
"endCursor": "example",
"hasNextPage": false
}
}
}
}List states
List states from Mercari Shops.
Inputs
None.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"states": []
}
}Send order message
Send a message to the buyer on an order transaction.
Inputs
- Order transaction ID
order_transaction_idtextRequired - The order transaction ID from List order transactions.
- Message
messagetextRequired - The message to send to the buyer.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"addOrderTransactionMessage": {
"orderTransaction": {
"id": "example",
"messages": []
}
}
}
}Update product
Change a product’s name, description, price or visibility; other fields stay as they are.
Inputs
- Product
product_idtextRequired - The product to update.
- Name
nametext - A new product name.
- Description
descriptiontext - A new product description.
- Price (JPY)
pricenumber - The price in Japanese yen.From 300 to 9999999.
- Visibility
statustext - Choose Published to make the product public or Private to hide it.One of:
OPENED(Published),UNOPENED(Private).
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"updateProduct": {
"product": {
"createdAt": "example",
"description": "example",
"id": "example",
"name": "example",
"price": 1,
"status": "example",
"updatedAt": "example",
"variants": []
}
}
}
}Update stock
Set a variant’s absolute stock quantity using its variant ID or shop SKU.
Inputs
- Variant ID
variant_idtext - The variant ID from Get product. Fill this or Shop SKU.
- Shop SKU
sku_codetext - Your unique shop SKU. Fill this or Variant ID.
- Stock quantity
stock_quantitynumberRequired - The new total quantity, rather than an amount to add.At least 0.
Outputs
dataobject- Mercari response data.
Example output
{
"data": {
"updateProductVariant": {
"productVariant": {
"id": "example",
"name": "example",
"skuCode": "example",
"stockQuantity": 1
}
}
}
}