Shopify Company: inputs and fields
Companies data in Shopify.
Read
List Companies
Fetch companies from Shopify.
Route: GET /companies
Excel formula: =LF.shopify.companies("selection", "fields")
Inputs you can set
| Name | Type | Required | Description |
|---|---|---|---|
link | string | Yes | - |
first | number | No | The first n elements from the paginated list. Default: 250 |
after | string | No | The elements that come after the specified cursor. |
last | number | No | The last n elements from the paginated list. |
before | string | No | The elements that come before the specified cursor. |
reverse | boolean | No | Reverse the order of the underlying list. Default: false |
sortKey | enum | No | Sort the underlying list by the given key. Values: CREATED_AT, ID, NAME, ORDER_COUNT, SINCE_DATE |
query.active_customers_count | number | No | - |
query.created_at | date | No | - |
query.default | string | No | Filter by a case-insensitive search of multiple fields in a document. Example: - query=Bob Norman - query=title:green hoodie |
query.external_id | id | No | - |
query.id | id | No | Filter by id range. Example: - id:1234 - id:>=1234 - id:<=1234 |
query.metafields.{namespace}.{key} | string | No | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value}. Learn more about [querying by metafield value](https:/... |
query.name | string | No | - |
query.ordering_status | string | No | - |
query.since_date | date | No | - |
query.updated_at | date | No | - |
Data returned in Excel
| Field | Type | Relations | Description |
|---|---|---|---|
contactCountdefault | number | — | - |
iddefault | id | — | - |
namedefault | string | — | - |
notedefault | string | — | - |
createdAtdefault | date | — | - |
iddefault | id | — | - |
isMainContactdefault | boolean | — | - |
lifetimeDurationdefault | string | — | - |
localedefault | string | — | - |
titledefault | string | — | - |
updatedAtdefault | date | — | - |
countdefault | number | — | - |
precisiondefault | enum | — | - |
createdAtdefault | date | — | - |
customerSincedefault | date | — | - |
iddefault | id | — | - |
namedefault | string | — | - |
notedefault | string | — | - |
acceptAutomaticDiscountsdefault | boolean | — | - |
allowDiscountCodesInCheckoutdefault | boolean | — | - |
allVariantPricesOverriddendefault | boolean | — | - |
anyVariantPricesOverriddendefault | boolean | — | - |
billingAddressMatchesShippingAddressdefault | boolean | — | - |
completedAtdefault | date | — | - |
createdAtdefault | date | — | - |
currencyCodedefault | enum | — | - |
discountCodesdefault | string[] | — | - |
emaildefault | string | — | - |
hasTimelineCommentdefault | boolean | — | - |
iddefault | id | → draftOrders | - |
invoiceEmailTemplateSubjectdefault | string | — | - |
invoiceSentAtdefault | date | — | - |
invoiceUrldefault | string | — | - |
marketNamedefault | string | — | - |
marketRegionCountryCodedefault | enum | — | - |
namedefault | string | — | - |
note2default | string | — | - |
phonedefault | string | — | - |
poNumberdefault | string | — | - |
presentmentCurrencyCodedefault | enum | — | - |
readydefault | boolean | — | - |
reserveInventoryUntildefault | date | — | - |
statusdefault | enum | — | - |
subtotalPricedefault | string | — | - |
tagsdefault | string[] | — | - |
taxesIncludeddefault | boolean | — | - |
taxExemptdefault | boolean | — | - |
totalPricedefault | string | — | - |
totalQuantityOfLineItemsdefault | number | — | - |
totalShippingPricedefault | string | — | - |
totalTaxdefault | string | — | - |
totalWeightdefault | string | — | - |
transformerFingerprintdefault | string | — | - |
updatedAtdefault | date | — | - |
visibleToCustomerdefault | boolean | — | - |
actiondefault | string | — | - |
additionalContentdefault | string | — | - |
additionalDatadefault | string | — | - |
appTitledefault | string | — | - |
argumentsdefault | string | — | - |
attributeToAppdefault | boolean | — | - |
attributeToUserdefault | boolean | — | - |
authordefault | string | — | - |
createdAtdefault | date | — | - |
criticalAlertdefault | boolean | — | - |
hasAdditionalContentdefault | boolean | — | - |
iddefault | id | — | - |
messagedefault | string | — | - |
secondaryMessagedefault | string | — | - |
subjectIddefault | string | — | - |
subjectTypedefault | enum | — | - |
externalIddefault | string | — | - |
hasTimelineCommentdefault | boolean | — | - |
iddefault | id | → companies | - |
lifetimeDurationdefault | string | — | - |
createdAtdefault | date | — | - |
currencydefault | enum | — | - |
externalIddefault | string | — | - |
hasTimelineCommentdefault | boolean | — | - |
iddefault | id | → companyLocations | - |
localedefault | string | — | - |
namedefault | string | — | - |
notedefault | string | — | - |
orderCountdefault | number | — | - |
phonedefault | string | — | - |
taxExemptionsdefault | string | — | - |
taxRegistrationIddefault | string | — | - |
updatedAtdefault | date | — | - |
countdefault | number | — | - |
precisiondefault | enum | — | - |
createdAtdefault | date | — | - |
iddefault | id | — | - |
isMainContactdefault | boolean | — | - |
lifetimeDurationdefault | string | — | - |
localedefault | string | — | - |
titledefault | string | — | - |
updatedAtdefault | date | — | - |
compareDigestdefault | string | — | - |
createdAtdefault | date | — | - |
descriptiondefault | string | — | - |
iddefault | id | — | - |
jsonValuedefault | string | — | - |
keydefault | string | — | - |
namespacedefault | string | — | - |
ownerTypedefault | enum | — | - |
sizeInBytesdefault | number | — | - |
translatabledefault | boolean | — | - |
typedefault | string | — | - |
updatedAtdefault | date | — | - |
valuedefault | string | — | - |
descriptiondefault | string | — | - |
iddefault | id | → metafieldDefinitions | - |
keydefault | string | — | - |
namedefault | string | — | - |
namespacedefault | string | — | - |
ownerTypedefault | enum | — | - |
pinnedPositiondefault | number | — | - |
useAsCollectionConditiondefault | boolean | — | - |
validationStatusdefault | enum | — | - |
compareDigestdefault | string | — | - |
createdAtdefault | date | — | - |
descriptiondefault | string | — | - |
iddefault | id | → metafields | - |
jsonValuedefault | string | — | - |
keydefault | string | — | - |
namespacedefault | string | — | - |
ownerTypedefault | enum | — | - |
sizeInBytesdefault | number | — | - |
translatabledefault | boolean | — | - |
typedefault | string | — | - |
updatedAtdefault | date | — | - |
valuedefault | string | — | - |
namedefault | string | — | - |
notedefault | string | — | - |
billingAddressMatchesShippingAddressdefault | boolean | — | - |
cancelledAtdefault | date | — | - |
cancelReasondefault | enum | — | - |
canMarkAsPaiddefault | boolean | — | - |
canNotifyCustomerdefault | boolean | — | - |
capturabledefault | boolean | — | - |
cartDiscountAmountdefault | string | — | - |
cartTokendefault | string | — | - |
checkoutTokendefault | string | — | - |
clientIpdefault | string | — | - |
closeddefault | boolean | — | - |
closedAtdefault | date | — | - |
confirmationNumberdefault | string | — | - |
confirmeddefault | boolean | — | - |
createdAtdefault | date | — | - |
currencyCodedefault | enum | — | - |
currentSubtotalLineItemsQuantitydefault | number | — | - |
currentTotalWeightdefault | string | — | - |
customerAcceptsMarketingdefault | boolean | — | - |
customerLocaledefault | string | — | - |
discountCodedefault | string | — | - |
discountCodesdefault | string[] | — | - |
displayFinancialStatusdefault | enum | — | - |
displayFulfillmentStatusdefault | enum | — | - |
displayRequestedEditStatusdefault | enum | — | - |
dutiesIncludeddefault | boolean | — | - |
editeddefault | boolean | — | - |
emaildefault | string | — | - |
estimatedTaxesdefault | boolean | — | - |
fulfillabledefault | boolean | — | - |
fullyPaiddefault | boolean | — | - |
hasTimelineCommentdefault | boolean | — | - |
iddefault | id | → orders | - |
landingPageDisplayTextdefault | string | — | - |
landingPageUrldefault | string | — | - |
merchantEditabledefault | boolean | — | - |
merchantEditableErrorsdefault | string[] | — | - |
namedefault | string | — | - |
netPaymentdefault | string | — | - |
notedefault | string | — | - |
numberdefault | number | — | - |
paymentGatewayNamesdefault | string[] | — | - |
phonedefault | string | — | - |
poNumberdefault | string | — | - |
presentmentCurrencyCodedefault | enum | — | - |
processedAtdefault | date | — | - |
productNetworkdefault | boolean | — | - |
referralCodedefault | string | — | - |
referrerDisplayTextdefault | string | — | - |
referrerUrldefault | string | — | - |
refundabledefault | boolean | — | - |
registeredSourceUrldefault | string | — | - |
requiresShippingdefault | boolean | — | - |
restockabledefault | boolean | — | - |
returnStatusdefault | enum | — | - |
riskLeveldefault | enum | — | - |
sourceIdentifierdefault | string | — | - |
sourceNamedefault | string | — | - |
subtotalLineItemsQuantitydefault | number | — | - |
subtotalPricedefault | string | — | - |
tagsdefault | string[] | — | - |
taxesIncludeddefault | boolean | — | - |
taxExemptdefault | boolean | — | - |
testdefault | boolean | — | - |
totalCapturabledefault | string | — | - |
totalDiscountsdefault | string | — | - |
totalPricedefault | string | — | - |
totalReceiveddefault | string | — | - |
totalRefundeddefault | string | — | - |
totalShippingPricedefault | string | — | - |
totalTaxdefault | string | — | - |
totalWeightdefault | string | — | - |
unpaiddefault | boolean | — | - |
updatedAtdefault | date | — | - |
countdefault | number | — | - |
precisiondefault | enum | — | - |
amountdefault | number | — | - |
currencyCodedefault | enum | — | - |
updatedAtdefault | date | — | - |
Create
Create Company
Create a new company in Shopify.
Route: POST /companies
Inputs you can set
| Name | Type | Required | Description |
|---|---|---|---|
input.company.customerSince | date | No | - |
input.company.externalId | string | No | - |
input.company.name | string | No | - |
input.company.note | string | No | - |
input.companyContact.email | string | No | - |
input.companyContact.firstName | string | No | - |
input.companyContact.lastName | string | No | - |
input.companyContact.locale | string | No | - |
input.companyContact.phone | string | No | - |
input.companyContact.title | string | No | - |
input.companyLocation.billingAddress.address1 | string | No | - |
input.companyLocation.billingAddress.address2 | string | No | - |
input.companyLocation.billingAddress.city | string | No | - |
input.companyLocation.billingAddress.countryCode | enum | No | Values: AF, AX, AL, DZ, AD |
input.companyLocation.billingAddress.firstName | string | No | - |
input.companyLocation.billingAddress.lastName | string | No | - |
input.companyLocation.billingAddress.phone | string | No | - |
input.companyLocation.billingAddress.recipient | string | No | - |
input.companyLocation.billingAddress.zip | string | No | - |
input.companyLocation.billingAddress.zoneCode | string | No | - |
input.companyLocation.billingSameAsShipping | boolean | No | - |
input.companyLocation.buyerExperienceConfiguration.checkoutToDraft | boolean | No | - |
input.companyLocation.buyerExperienceConfiguration.deposit.percentage | number | Yes | - |
input.companyLocation.buyerExperienceConfiguration.editableShippingAddress | boolean | No | - |
input.companyLocation.buyerExperienceConfiguration.paymentTermsTemplateId | string | No | - |
input.companyLocation.externalId | string | No | - |
input.companyLocation.locale | string | No | - |
input.companyLocation.name | string | No | - |
input.companyLocation.note | string | No | - |
input.companyLocation.phone | string | No | - |
input.companyLocation.shippingAddress.address1 | string | No | - |
input.companyLocation.shippingAddress.address2 | string | No | - |
input.companyLocation.shippingAddress.city | string | No | - |
input.companyLocation.shippingAddress.countryCode | enum | No | Values: AF, AX, AL, DZ, AD |
input.companyLocation.shippingAddress.firstName | string | No | - |
input.companyLocation.shippingAddress.lastName | string | No | - |
input.companyLocation.shippingAddress.phone | string | No | - |
input.companyLocation.shippingAddress.recipient | string | No | - |
input.companyLocation.shippingAddress.zip | string | No | - |
input.companyLocation.shippingAddress.zoneCode | string | No | - |
input.companyLocation.taxExempt | boolean | No | - |
input.companyLocation.taxExemptions | string | No | - |
input.companyLocation.taxRegistrationId | string | No | - |
Data returned in Excel
This action returns a confirmation rather than a selectable table.
Edit
Update Company
Update an existing company in Shopify.
Route: PATCH /companies/{id}
Inputs you can set
| Name | Type | Required | Description |
|---|---|---|---|
companyId | string | Yes | - |
input.customerSince | date | No | - |
input.externalId | string | No | - |
input.name | string | No | - |
input.note | string | No | - |
Data returned in Excel
This action returns a confirmation rather than a selectable table.
Edit
Delete Company
Delete an existing company in Shopify.
Route: DELETE /companies/{id}
Inputs you can set
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | - |
Data returned in Excel
This action returns a confirmation rather than a selectable table.